X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/745ae02f477e6f262041e9dd5d83f3b880aa79c6..99dcd10d3fb1b79ee69ed73def9038a0f5118ebe:/lib-php/setup/SetupClass.php diff --git a/lib-php/setup/SetupClass.php b/lib-php/setup/SetupClass.php index 03b01631..fedbb644 100755 --- a/lib-php/setup/SetupClass.php +++ b/lib-php/setup/SetupClass.php @@ -166,11 +166,6 @@ class SetupFunctions // Try accessing the C module, so we know early if something is wrong $this->checkModulePresence(); // raises exception on failure - if (!file_exists(CONST_DataDir.'/country_osm_grid.sql.gz')) { - echo 'Error: you need to download the country_osm_grid first:'; - echo "\n wget -O ".CONST_DataDir."/country_osm_grid.sql.gz https://www.nominatim.org/data/country_grid.sql.gz\n"; - exit(1); - } $this->pgsqlRunScriptFile(CONST_DataDir.'/country_name.sql'); $this->pgsqlRunScriptFile(CONST_DataDir.'/country_osm_grid.sql.gz');