]> git.joonet.de Git - adminer.git/commitdiff
PHP 6 compatibility
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Mon, 14 Sep 2009 15:12:51 +0000 (15:12 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Mon, 14 Sep 2009 15:12:51 +0000 (15:12 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1108 7c3ca157-0c34-0410-bff1-cbf682f78f5c

adminer/include/bootstrap.inc.php

index 94a1dec0a1a9eb26676c31d3f002c7a3f1c15938..8062d733ec62ad74d74ef23f77d8ee35d32ac51a 100644 (file)
@@ -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