From: marc tobias Date: Sun, 13 Sep 2020 22:45:22 +0000 (+0200) Subject: starting PHP 5.4 get_magic_quotes_gpc() returns false, no need to check X-Git-Tag: v3.6.0~80^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/7ac22e92279fc77db316623c76cfcf6cbb22e070?ds=sidebyside;hp=--cc starting PHP 5.4 get_magic_quotes_gpc() returns false, no need to check --- 7ac22e92279fc77db316623c76cfcf6cbb22e070 diff --git a/lib/init.php b/lib/init.php index 0bd23e31..082d1bf5 100644 --- a/lib/init.php +++ b/lib/init.php @@ -2,8 +2,3 @@ require_once(CONST_BasePath.'/lib/lib.php'); require_once(CONST_BasePath.'/lib/DB.php'); - -if (get_magic_quotes_gpc()) { - echo "Please disable magic quotes in your php.ini configuration\n"; - exit; -}