]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/query.php
Merge pull request #424 from lonvia/cleanup-logging
[nominatim.git] / utils / query.php
index b3fdb2683d9bf9f097f322b583e01497badf8edd..9ab23dc308635df8c9fccd05e85432fe676de9f3 100755 (executable)
@@ -1,9 +1,10 @@
 #!/usr/bin/php -Cq
 <?php
 
 #!/usr/bin/php -Cq
 <?php
 
-    require_once(dirname(dirname(__FILE__)).'/lib/init-cmd.php');
-    require_once(CONST_BasePath.'/lib/Geocode.php');
-    ini_set('memory_limit', '800M');
+       require_once(dirname(dirname(__FILE__)).'/settings/settings.php');
+       require_once(CONST_BasePath.'/lib/init-cmd.php');
+       require_once(CONST_BasePath.'/lib/Geocode.php');
+       ini_set('memory_limit', '800M');
 
        $aCMDOptions = array(
                "Query database from command line. Returns search result as JSON.",
 
        $aCMDOptions = array(
                "Query database from command line. Returns search result as JSON.",