compile_file('../adminer/default.css', 'minify_css');compile_file('../adminer/functions.js', 'JSMin::minify');compile_file('editing.js', 'JSMin::minify'); $lines) { foreach ($lines as $l => $val) { if (!$_SESSION["coverage"][$filename][$l] || $val > 0) { $_SESSION["coverage"][$filename][$l] = $val; } } } } xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE); register_shutdown_function('save_coverage'); } // disable magic quotes to be able to use database escaping function if (get_magic_quotes_gpc()) { $process = array(&$_GET, &$_POST, &$_COOKIE); while (list($key, $val) = each($process)) { foreach ($val as $k => $v) { unset($process[$key][$k]); if (is_array($v)) { $process[$key][stripslashes($k)] = $v; $process[] = &$process[$key][stripslashes($k)]; } else { $process[$key][stripslashes($k)] = ($filter ? $v : stripslashes($v)); } } } unset($process); } set_magic_quotes_runtime(false); $SELF = (isset($_SERVER["REQUEST_URI"]) ? preg_replace('~^[^?]*/([^?]*).*~', '\\1', $_SERVER["REQUEST_URI"]) : $_SERVER["ORIG_PATH_INFO"]) . '?' . (strlen($_GET["server"]) ? 'server=' . urlencode($_GET["server"]) . '&' : '') . (strlen($_GET["db"]) ? 'db=' . urlencode($_GET["db"]) . '&' : ''); $on_actions = array("RESTRICT", "CASCADE", "SET NULL", "NO ACTION"); // used in foreign_keys() include "../adminer/include/version.inc.php"; include "../adminer/include/functions.inc.php"; include "../adminer/include/lang.inc.php"; include "../adminer/lang/$LANG.inc.php"; include "./include/adminer.inc.php"; include "../adminer/include/design.inc.php"; if (isset($_GET["coverage"])) { include "../adminer/coverage.inc.php"; } include "../adminer/include/pdo.inc.php"; include "../adminer/include/mysql.inc.php"; include "../adminer/include/auth.inc.php"; include "./include/connect.inc.php"; include "./include/editing.inc.php"; include "./include/export.inc.php"; $confirm = " onclick=\"return confirm('" . lang('Are you sure?') . "');\""; $token = $_SESSION["tokens"][$_GET["server"]]; $error = ($_POST ? ($_POST["token"] == $token ? "" : lang('Invalid CSRF token. Send the form again.')) : ($_SERVER["REQUEST_METHOD"] != "POST" ? "" : lang('Too big POST data. Reduce the data or increase the "post_max_size" configuration directive.')) // posted form with no data means that post_max_size exceeded because Adminer always sends token at least );