X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8ecd32b7dd22a38c30b119d156d5bec430f14ceb..94d795883f36485c3da866f8979cab07d28194c0:/lib/init-website.php?ds=sidebyside 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)));