]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #1532 from eyusupov/use-extradir
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 28 Oct 2019 22:01:42 +0000 (23:01 +0100)
committerGitHub <noreply@github.com>
Mon, 28 Oct 2019 22:01:42 +0000 (23:01 +0100)
Use ExtraDataPath for country grid

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');
-        $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');