Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Main loader script
  5. *
  6. * @package PhpMyAdmin
  7. */
  8. use PMAlibrariesRecentFavoriteTable;
  9.  
  10. /**
  11. * Gets some core libraries and displays a top message if required
  12. */
  13. require_once 'libraries/common.inc.php';
  14.  
  15. /**
  16. * display Git revision if requested
  17. */
  18. require_once 'libraries/display_git_revision.lib.php';
  19.  
  20. /**
  21. * pass variables to child pages
  22. */
  23. $drops = array(
  24. 'lang',
  25. 'server',
  26. 'collation_connection',
  27. 'db',
  28. 'table'
  29. );
  30. foreach ($drops as $each_drop) {
  31. if (array_key_exists($each_drop, $_GET)) {
  32. unset($_GET[$each_drop]);
  33. }
  34. }
  35. unset($drops, $each_drop);
  36.  
  37. /*
  38. * Black list of all scripts to which front-end must submit data.
  39. * Such scripts must not be loaded on home page.
  40. *
  41. */
  42. $target_blacklist = array (
  43. 'import.php', 'export.php'
  44. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement