]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/blocks.php
Merge pull request #424 from lonvia/cleanup-logging
[nominatim.git] / utils / blocks.php
index bd5efd0014f014c2b3fb50dc2daff4a28c46695c..28c48c588d03a6557c2de446d635034433c3dfc3 100755 (executable)
@@ -1,8 +1,9 @@
 #!/usr/bin/php -Cq
 <?php
 
 #!/usr/bin/php -Cq
 <?php
 
-        require_once(dirname(dirname(__FILE__)).'/lib/init-cmd.php');
-        ini_set('memory_limit', '800M');
+       require_once(dirname(dirname(__FILE__)).'/settings/settings.php');
+       require_once(CONST_BasePath.'/lib/init-cmd.php');
+       ini_set('memory_limit', '800M');
 
        $aCMDOptions = array(
                "Manage service blocks / restrictions",
 
        $aCMDOptions = array(
                "Manage service blocks / restrictions",