]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/init.php
use external makefile for pgxs with cmake
[nominatim.git] / lib / init.php
index 17f262c339324f743bbc464a3c52cf03d5f777da..db984ef8c4c893bac16f2b42680cb5845f85b78f 100644 (file)
@@ -2,12 +2,13 @@
 
        @define('CONST_BasePath', dirname(dirname(__FILE__)));
 
-       require_once(CONST_BasePath.'/settings/settings.php');
+       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";
+               echo "Please disable magic quotes in your php.ini configuration\n";
                exit;
        }