X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4b21cc1737e2c0598cc2066430e3c995849c0d6d..b133f2bc4cd5e467ff6ef10124416b1307cfdb62:/utils/setup.php diff --git a/utils/setup.php b/utils/setup.php index 7f476d5c..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']) {