X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7ae16f73023f961659e26f45a4e3052b0b7236ad..0495dbe75673f82f863c6b817569d60f16c83d8a:/utils/setup.php diff --git a/utils/setup.php b/utils/setup.php index 5d323cee..713fe561 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']) {