diff --git a/lib/init-website.php b/lib/init-website.php index a34e4c82..fff33936 100644 --- a/lib/init-website.php +++ b/lib/init-website.php @@ -12,12 +12,6 @@ } if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS') exit; - if (CONST_ClosedForIndexing && strpos(CONST_ClosedForIndexingExceptionIPs, ','.$_SERVER["REMOTE_ADDR"].',') === false) - { - echo "Closed for re-indexing..."; - exit; - } - $aBucketKeys = array(); if (isset($_SERVER["HTTP_REFERER"])) $aBucketKeys[] = str_replace('www.','',strtolower(parse_url($_SERVER["HTTP_REFERER"], PHP_URL_HOST))); diff --git a/settings/settings.php b/settings/settings.php index 0c8d76bd..8f2fb1d9 100644 --- a/settings/settings.php +++ b/settings/settings.php @@ -75,8 +75,6 @@ // Website settings @define('CONST_NoAccessControl', true); - @define('CONST_ClosedForIndexing', false); - @define('CONST_ClosedForIndexingExceptionIPs', ''); @define('CONST_BlockedIPs', ''); @define('CONST_BulkUserIPs', ''); @define('CONST_BlockMessage', ''); // additional info to show for blocked IPs