]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/init.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib / init.php
index 18fbc9a688259440a3b92b42e9e1d61ccd9608fe..082d1bf58dedb7665eb9c62953fafa607a6cfa07 100644 (file)
@@ -1,14 +1,4 @@
 <?php
 
-       @define('CONST_BasePath', dirname(dirname(__FILE__)));
-       date_default_timezone_set('UTC');
-
-       require_once(CONST_BasePath.'/settings/settings.php');
-       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;
-       }
+require_once(CONST_BasePath.'/lib/lib.php');
+require_once(CONST_BasePath.'/lib/DB.php');