From: Jakub Vrana Date: Tue, 23 Jul 2013 19:55:32 +0000 (-0700) Subject: Don't use deprecated function X-Git-Tag: v4.0.0~99 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=0d074077bb41cc8d950ab91e58f66d46451679b6;p=adminer.git Don't use deprecated function --- diff --git a/adminer/include/bootstrap.inc.php b/adminer/include/bootstrap.inc.php index b1a27ae6..2aad2271 100644 --- a/adminer/include/bootstrap.inc.php +++ b/adminer/include/bootstrap.inc.php @@ -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