]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/country_languages.php
make HTTP proxy setup explicit
[nominatim.git] / utils / country_languages.php
index 07a942257e77dec2a7f3dc02b690554b8dddf3e8..8bd85b8aad0e50f79564520c977fe9647bb3eb65 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-require_once(CONST_BasePath.'/lib/init-cmd.php');
+require_once(CONST_LibDir.'/init-cmd.php');
 
 ini_set('memory_limit', '800M');
 ini_set('display_errors', 'stderr');
@@ -14,7 +14,9 @@ $aCMDOptions
    );
 getCmdOpt($_SERVER['argv'], $aCMDOptions, $aCMDResult, true, true);
 
-include(CONST_InstallPath.'/settings/phrase_settings.php');
+setupHTTPProxy();
+
+include(CONST_Phrase_Config);
 
 if (true) {
     $sURL = 'https://wiki.openstreetmap.org/wiki/Special:Export/Nominatim/Country_Codes';