X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0a710c0762ceb432433f9ceedbd2ce1e948ac38c..b133f2bc4cd5e467ff6ef10124416b1307cfdb62:/utils/setup.php?ds=sidebyside diff --git a/utils/setup.php b/utils/setup.php index 23b7b3a6..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']) {