]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/admin/setup.php
print project directory before running any command
[nominatim.git] / lib / admin / setup.php
index e5ba61ebcf72ad00e4febd95d477d5aed9f41ed4..241b873caffc919f1ecf55bcfa6f4e09132b2ac3 100644 (file)
@@ -119,10 +119,7 @@ if ($aCMDResult['load-data'] || $aCMDResult['all']) {
 
 if ($aCMDResult['import-tiger-data']) {
     $bDidSomething = true;
 
 if ($aCMDResult['import-tiger-data']) {
     $bDidSomething = true;
-    $sTigerPath = getSetting('TIGER_DATA_PATH');
-    if (!$sTigerPath) {
-        $sTigerPath = CONST_DataDir.'/data/tiger';
-    }
+    $sTigerPath = getSetting('TIGER_DATA_PATH', CONST_InstallDir.'/tiger');
     $oSetup->importTigerData($sTigerPath);
 }
 
     $oSetup->importTigerData($sTigerPath);
 }