]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/country_languages.php
adapt to code style conventions
[nominatim.git] / utils / country_languages.php
index 8360ae6672c9bcafdb8c357f1859a0d9c9b876a8..5f890083122846eabe1f5e06cdead0997b2a9366 100755 (executable)
@@ -1,7 +1,9 @@
 #!/usr/bin/php -Cq
 <?php
 
-        require_once(dirname(dirname(__FILE__)).'/lib/init-cmd.php');
+       require_once(dirname(dirname(__FILE__)).'/settings/settings.php');
+       require_once(CONST_BasePath.'/lib/init-cmd.php');
+
         ini_set('memory_limit', '800M');
         ini_set('display_errors', 'stderr');
 
@@ -13,7 +15,7 @@
         );
         getCmdOpt($_SERVER['argv'], $aCMDOptions, $aCMDResult, true, true);
 
-       include(CONST_BasePath.'/settings/phrase_settings.php');
+       include(CONST_InstallPath.'/settings/phrase_settings.php');
 
        if (true)
        {