X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c391479c5852f165c4be85b6e39d1290ae2d4a58..86b95a946b6ce73a54defd5ea09c5e4c1303bb43:/settings/settings.php diff --git a/settings/settings.php b/settings/settings.php index 1b5422f9..3da42133 100644 --- a/settings/settings.php +++ b/settings/settings.php @@ -35,7 +35,7 @@ // search tables - needed for lookups @define('CONST_Tablespace_Search_Data', false); @define('CONST_Tablespace_Search_Index', false); - // additional data, e.g. TIGER data - needed for lookups + // additional data, e.g. TIGER data, type searches - needed for lookups @define('CONST_Tablespace_Aux_Data', false); @define('CONST_Tablespace_Aux_Index', false); @@ -70,13 +70,15 @@ // Website settings @define('CONST_NoAccessControl', true); - @define('CONST_ClosedForIndexing', false); - @define('CONST_ClosedForIndexingExceptionIPs', ''); @define('CONST_BlockedIPs', ''); + @define('CONST_IPBanFile', CONST_BasePath.'/settings/ip_blocks'); + @define('CONST_WhitelistedIPs', ''); + @define('CONST_BlockedUserAgents', ''); + @define('CONST_BlockReverseMaxLoad', 15); @define('CONST_BulkUserIPs', ''); @define('CONST_BlockMessage', ''); // additional info to show for blocked IPs - @define('CONST_Website_BaseURL', 'http://'.php_uname('n').'/'); + @define('CONST_Website_BaseURL', 'http://nominatim.openstreetmap.org/'); @define('CONST_Tile_Default', 'Mapnik'); @define('CONST_Default_Language', false);