X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/73566a9f1584b348bc5357eb155f030e28070735..0947b618085f7d46515a3ec06cab5ed818e8635f:/utils/setup.php diff --git a/utils/setup.php b/utils/setup.php index 5d323cee..dfa27cb6 100644 --- a/utils/setup.php +++ b/utils/setup.php @@ -1,8 +1,8 @@ importTigerData(); + $sTigerPath = getSetting('TIGER_DATA_PATH'); + if (!$sTigerPath) { + $sTigerPath = CONST_DataDir.'/data/tiger'; + } + $oSetup->importTigerData($sTigerPath); } if ($aCMDResult['calculate-postcodes'] || $aCMDResult['all']) {