]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/init-website.php
add instructions to enable use of Tiger data
[nominatim.git] / lib / init-website.php
index 6db83988551f4d2fd6fba8ac745befa3f9043388..fff33936dc6d688b4ce4d54cfe62bd585221661c 100644 (file)
        }
        if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS') exit;
 
        }
        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)));
        $aBucketKeys = array();
 
        if (isset($_SERVER["HTTP_REFERER"])) $aBucketKeys[] = str_replace('www.','',strtolower(parse_url($_SERVER["HTTP_REFERER"], PHP_URL_HOST)));