]> git.openstreetmap.org Git - nominatim.git/blobdiff - settings/settings.php
include edit links for errors
[nominatim.git] / settings / settings.php
index 011198b605365cb780df381a9b1b968c7a6ae968..a0a884fea587f4f6c320648a85133fae1d8519e7 100644 (file)
@@ -5,18 +5,20 @@
        // General settings
        @define('CONST_Debug', false);
        @define('CONST_Database_DSN', 'pgsql://@/nominatim');
+       @define('CONST_Max_Word_Frequency', '50000');
 
        // Paths
        @define('CONST_Postgresql_Version', '9.1');
        @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_Osm2pgsql_Binary', CONST_BasePath.'/osm2pgsql/osm2pgsql');
-       @define('CONST_Osmosis_Binary', CONST_BasePath.'/osmosis-0.40.1/bin/osmosis');
+       @define('CONST_Osmosis_Binary', '/usr/bin/osmosis');
 
        // Website settings
        @define('CONST_ClosedForIndexing', false);
        @define('CONST_ClosedForIndexingExceptionIPs', '');
        @define('CONST_BlockedIPs', '');
+       @define('CONST_BulkUserIPs', '');
 
        @define('CONST_Website_BaseURL', 'http://'.php_uname('n').'/');
        @define('CONST_Tile_Default', 'Mapnik');
@@ -31,6 +33,9 @@
 
        @define('CONST_Suggestions_Enabled', false);
 
+       // Set to zero to disable polygon output
+       @define('CONST_PolygonOutput_MaximumTypes', 1);
+
        // Log settings
        @define('CONST_Log_DB', true);
        @define('CONST_Log_File', false);