Carl_Meller

_functions - _i.PHP

Nov 17th, 2015
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. $url = $_SERVER['REQUEST_URI'];
  4. if ($url = '/_functions/_i.php')
  5. {
  6.     header('Location: ' . url);
  7. }
  8. else
  9. {
  10.     return true;
  11. }
  12.  
  13. function i($to)
  14. {
  15.     if(include($to))
  16.     {
  17.         return true;
  18.     }
  19.     else
  20.     {
  21.         Err('_functions/_i.php', '5');
  22.     }
  23. }
  24. ?>
Advertisement
Add Comment
Please, Sign In to add comment