]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/setup.php
switch remaining settings to dotenv format
[nominatim.git] / utils / setup.php
index 10d7e15598df2f6ce9bdbf67d3916edc7ba8cf7f..dfa27cb68e5d9808e49f306fce68198aba22e53d 100644 (file)
@@ -118,7 +118,11 @@ if ($aCMDResult['load-data'] || $aCMDResult['all']) {
 
 if ($aCMDResult['import-tiger-data']) {
     $bDidSomething = true;
-    $oSetup->importTigerData();
+    $sTigerPath = getSetting('TIGER_DATA_PATH');
+    if (!$sTigerPath) {
+        $sTigerPath = CONST_DataDir.'/data/tiger';
+    }
+    $oSetup->importTigerData($sTigerPath);
 }
 
 if ($aCMDResult['calculate-postcodes'] || $aCMDResult['all']) {