X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0a710c0762ceb432433f9ceedbd2ce1e948ac38c..5d656891ba072d88b8b281d239d0dce9f7bd6a1c:/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']) {