]> git.openstreetmap.org Git - nominatim.git/commitdiff
starting PHP 5.4 get_magic_quotes_gpc() returns false, no need to check
authormarc tobias <mtmail@gmx.net>
Sun, 13 Sep 2020 22:45:22 +0000 (00:45 +0200)
committermarc tobias <mtmail@gmx.net>
Sun, 13 Sep 2020 22:45:22 +0000 (00:45 +0200)
lib/init.php

index 0bd23e31cfe57ffb1376b8025574efd738f22a1e..082d1bf58dedb7665eb9c62953fafa607a6cfa07 100644 (file)
@@ -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;
-}