]> git.joonet.de Git - adminer.git/commitdiff
Don't use deprecated function
authorJakub Vrana <jakub@vrana.cz>
Tue, 23 Jul 2013 19:55:32 +0000 (12:55 -0700)
committerJakub Vrana <jakub@vrana.cz>
Tue, 23 Jul 2013 19:55:32 +0000 (12:55 -0700)
adminer/include/bootstrap.inc.php

index b1a27ae64a885e4040164a05bd518328e30a8d84..2aad227192408b4faf33e2614dc85e03c69d8437 100644 (file)
@@ -49,7 +49,7 @@ if (!defined("SID")) {
 
 // disable magic quotes to be able to use database escaping function
 remove_slashes(array(&$_GET, &$_POST, &$_COOKIE), $filter);
-if (function_exists("set_magic_quotes_runtime")) { // removed in PHP 6
+if (get_magic_quotes_runtime()) {
        set_magic_quotes_runtime(false);
 }
 @set_time_limit(0); // @ - can be disabled