Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* vim: set expandtab sw=4 ts=4 sts=4: */
- /**
- * Main loader script
- *
- * @package PhpMyAdmin
- */
- use PMAlibrariesRecentFavoriteTable;
- /**
- * Gets some core libraries and displays a top message if required
- */
- require_once 'libraries/common.inc.php';
- /**
- * display Git revision if requested
- */
- require_once 'libraries/display_git_revision.lib.php';
- /**
- * pass variables to child pages
- */
- $drops = array(
- 'lang',
- 'server',
- 'collation_connection',
- 'db',
- 'table'
- );
- foreach ($drops as $each_drop) {
- if (array_key_exists($each_drop, $_GET)) {
- unset($_GET[$each_drop]);
- }
- }
- unset($drops, $each_drop);
- /*
- * Black list of all scripts to which front-end must submit data.
- * Such scripts must not be loaded on home page.
- *
- */
- $target_blacklist = array (
- 'import.php', 'export.php'
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement