X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/86e946d3696889c65c673b5ae1e667c07cc023dc..54126633f6078ebb86b53c614fcb243039e839fb:/settings/settings.php diff --git a/settings/settings.php b/settings/settings.php index 48ff7c4e..62892ed5 100644 --- a/settings/settings.php +++ b/settings/settings.php @@ -78,13 +78,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);