]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/init.php
introduce InstallPath, so that stuff can be executed from build dir
[nominatim.git] / lib / init.php
index 15e38a5b17fcf7862e71bacda260db87e7b03d60..db984ef8c4c893bac16f2b42680cb5845f85b78f 100644 (file)
@@ -2,8 +2,9 @@
 
        @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())