]> git.openstreetmap.org Git - nominatim.git/commitdiff
use Postgis Version variable
authorappelflap <albertdrenth@gmail.com>
Sun, 6 Jan 2013 18:48:30 +0000 (19:48 +0100)
committerappelflap <albertdrenth@gmail.com>
Sun, 6 Jan 2013 18:48:30 +0000 (19:48 +0100)
settings/settings.php

index 6f6f843b929e830217e8e5b203121d0093c3ea9f..26b48551d7eadae021c2ceb91f5d1fbec6d05472 100644 (file)
@@ -13,7 +13,7 @@
 
        // Paths
        @define('CONST_Path_Postgresql_Contrib', '/usr/share/postgresql/'.CONST_Postgresql_Version.'/contrib');
-       @define('CONST_Path_Postgresql_Postgis', CONST_Path_Postgresql_Contrib.'/postgis-1.5');
+       @define('CONST_Path_Postgresql_Postgis', CONST_Path_Postgresql_Contrib.'/postgis-'.CONST_Postgis_Version);
        @define('CONST_Osm2pgsql_Binary', CONST_BasePath.'/osm2pgsql/osm2pgsql');
        @define('CONST_Osmosis_Binary', '/usr/bin/osmosis');