]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/init.php
don't use tokens from country parameter in address field of searches
[nominatim.git] / lib / init.php
index 17f262c339324f743bbc464a3c52cf03d5f777da..67efdbfdf6edb3c8894f7d8a487adfde7d193633 100644 (file)
@@ -4,10 +4,11 @@
 
        require_once(CONST_BasePath.'/settings/settings.php');
        require_once(CONST_BasePath.'/lib/lib.php');
 
        require_once(CONST_BasePath.'/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())
        {
        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;
        }
                exit;
        }