X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e467b956ffbe32acbec2ae0bf7ef029a66f2ede0..36447c488a78017dc533f7ed42bc8cf20c72556d:/lib/admin/setup.php?ds=inline diff --git a/lib/admin/setup.php b/lib/admin/setup.php index e5ba61eb..241b873c 100644 --- a/lib/admin/setup.php +++ b/lib/admin/setup.php @@ -119,10 +119,7 @@ if ($aCMDResult['load-data'] || $aCMDResult['all']) { 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); }