diff --git a/index.php b/index.php index e1389f26..3aa3bc80 100644 --- a/index.php +++ b/index.php @@ -43,6 +43,7 @@ if (get_magic_quotes_gpc()) { } unset($process); } +set_magic_quotes_runtime(false); $SELF = preg_replace('~^[^?]*/([^?]*).*~', '\\1?', $_SERVER["REQUEST_URI"]) . (strlen($_GET["server"]) ? 'server=' . urlencode($_GET["server"]) . '&' : '') . (strlen($_GET["db"]) ? 'db=' . urlencode($_GET["db"]) . '&' : ''); $TOKENS = &$_SESSION["tokens"][$_GET["server"]][$_SERVER["REQUEST_URI"]];