From 0f93a490a46c908c84c01103e9de587fcb53afd8 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Tue, 31 Mar 2009 15:01:40 +0000 Subject: [PATCH] Disable magic_quotes_runtime git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@567 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- index.php | 1 + 1 file changed, 1 insertion(+) 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"]];