]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/init.php
add link for OpenSearch description
[nominatim.git] / lib / init.php
index 26952d05857f4ea9ecb83530ad138d10713e8fe1..0bd23e31cfe57ffb1376b8025574efd738f22a1e 100644 (file)
@@ -1,11 +1,9 @@
 <?php
 
-       require_once(CONST_BasePath.'/lib/lib.php');
-       require_once(CONST_BasePath.'/lib/leakybucket.php');
-       require_once(CONST_BasePath.'/lib/db.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;
-       }
+if (get_magic_quotes_gpc()) {
+    echo "Please disable magic quotes in your php.ini configuration\n";
+    exit;
+}