]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/lib.php
remove duplicate CORS header
[nominatim.git] / lib / lib.php
index 75e72b4ce6b741d053d0241d6bf71ed3872d90ac..897db8e7ff58484efe7863839fd508e4c26dd612 100644 (file)
 
        function javascript_renderData($xVal, $iOptions = 0)
        {
-               header("Access-Control-Allow-Origin: *");
                if (defined('PHP_VERSION_ID') && PHP_VERSION_ID > 50400)
                        $iOptions |= JSON_UNESCAPED_UNICODE;
                $jsonout = json_encode($xVal, $iOptions);