]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/init.php
Merge pull request #2092 from lonvia/update-osm2pgsql
[nominatim.git] / lib / init.php
index 26952d05857f4ea9ecb83530ad138d10713e8fe1..082d1bf58dedb7665eb9c62953fafa607a6cfa07 100644 (file)
@@ -1,11 +1,4 @@
 <?php
 
-       require_once(CONST_BasePath.'/lib/lib.php');
-       require_once(CONST_BasePath.'/lib/leakybucket.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;
-       }
+require_once(CONST_BasePath.'/lib/lib.php');
+require_once(CONST_BasePath.'/lib/DB.php');