]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/init.php
move update code for postcode and word count to Python
[nominatim.git] / lib / init.php
index db984ef8c4c893bac16f2b42680cb5845f85b78f..cc50aaf340102854c3090297d9dc4c37e51ea79a 100644 (file)
@@ -1,14 +1,4 @@
 <?php
 
-       @define('CONST_BasePath', dirname(dirname(__FILE__)));
-
-       require_once('settings/settings.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_LibDir.'/lib.php');
+require_once(CONST_LibDir.'/DB.php');