X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/03d6c48ef1bbc4ccd057125db6df015c0f8e53f0..a7069753e81844dee38e440545bd21e93a6fbd6b:/lib/init-website.php?ds=sidebyside diff --git a/lib/init-website.php b/lib/init-website.php index 6db2ac37..ce046eaa 100644 --- a/lib/init-website.php +++ b/lib/init-website.php @@ -2,33 +2,3 @@ require_once('init.php'); header('Content-type: text/html; charset=utf-8'); - - // check blocks in place for external servers - if (strpos($_SERVER["REMOTE_ADDR"],'193.63.75.') !== 0 && - strpos(CONST_WhitelistedIPs, ','.$_SERVER["REMOTE_ADDR"].',') === false) - { - - if (strpos(CONST_BlockedIPs, ','.$_SERVER["REMOTE_ADDR"].',') !== false) - { - header('HTTP/1.0 403 Forbidden'); - header('Content-type: text/html; charset=utf-8'); - echo "