X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/bcbba1cb5a4e5a1df3b8f5c79e2a988221adf867..d8bc544a455332cc3eb7fc43c03c12eaf771b7de:/settings/settings.php diff --git a/settings/settings.php b/settings/settings.php index 33bdad51..91595272 100644 --- a/settings/settings.php +++ b/settings/settings.php @@ -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'); @@ -28,6 +28,7 @@ @define('CONST_ConnectionBucket_Cost_Reverse', 1); @define('CONST_ConnectionBucket_Cost_Search', 2); @define('CONST_ConnectionBucket_Cost_Details', 3); + @define('CONST_ConnectionBucket_Cost_Status', 1); // Override this function to add an adjustment factor to the cost // based on server load. e.g. getBlockingProcesses