]> git.openstreetmap.org Git - nominatim.git/commitdiff
Use ExtraDataPath for country grid
authorEldar Yusupov <eyusupov@gmail.com>
Wed, 23 Oct 2019 02:34:47 +0000 (05:34 +0300)
committerEldar Yusupov <eyusupov@gmail.com>
Wed, 23 Oct 2019 03:19:04 +0000 (06:19 +0300)
lib/setup/SetupClass.php

index 489552486caa2e04909501d6ff8e7611554e1cb5..fd6805fbd71e0df2a09a864f39cfbeed04ceab1f 100755 (executable)
@@ -137,7 +137,7 @@ class SetupFunctions
             exit(1);
         }
         $this->pgsqlRunScriptFile(CONST_BasePath.'/data/country_name.sql');
             exit(1);
         }
         $this->pgsqlRunScriptFile(CONST_BasePath.'/data/country_name.sql');
-        $this->pgsqlRunScriptFile(CONST_BasePath.'/data/country_osm_grid.sql.gz');
+        $this->pgsqlRunScriptFile(CONST_ExtraDataPath.'/country_osm_grid.sql.gz');
         $this->pgsqlRunScriptFile(CONST_BasePath.'/data/gb_postcode_table.sql');
         $this->pgsqlRunScriptFile(CONST_BasePath.'/data/us_postcode_table.sql');
 
         $this->pgsqlRunScriptFile(CONST_BasePath.'/data/gb_postcode_table.sql');
         $this->pgsqlRunScriptFile(CONST_BasePath.'/data/us_postcode_table.sql');