From 500a835e9d856d6d72a02483b8639470aed538a5 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Mon, 14 Sep 2009 15:12:51 +0000 Subject: [PATCH] PHP 6 compatibility git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1108 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/include/bootstrap.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/adminer/include/bootstrap.inc.php b/adminer/include/bootstrap.inc.php index 94a1dec0..8062d733 100644 --- a/adminer/include/bootstrap.inc.php +++ b/adminer/include/bootstrap.inc.php @@ -70,7 +70,9 @@ if (get_magic_quotes_gpc()) { } unset($process); } -set_magic_quotes_runtime(false); +if (function_exists("set_magic_quotes_runtime")) { + set_magic_quotes_runtime(false); +} @set_time_limit(0); // @ - can be disabled define("DB", $_GET["db"]); // for the sake of speed and size