X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8ecd32b7dd22a38c30b119d156d5bec430f14ceb..860acbf6af173d790b29742311f124582bb2f217:/lib/init-website.php diff --git a/lib/init-website.php b/lib/init-website.php index 6db83988..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)));