mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-13 06:14:07 +00:00
@@ -592,7 +592,6 @@
|
|||||||
|
|
||||||
function javascript_renderData($xVal, $iOptions = 0)
|
function javascript_renderData($xVal, $iOptions = 0)
|
||||||
{
|
{
|
||||||
header("Access-Control-Allow-Origin: *");
|
|
||||||
if (defined('PHP_VERSION_ID') && PHP_VERSION_ID > 50400)
|
if (defined('PHP_VERSION_ID') && PHP_VERSION_ID > 50400)
|
||||||
$iOptions |= JSON_UNESCAPED_UNICODE;
|
$iOptions |= JSON_UNESCAPED_UNICODE;
|
||||||
$jsonout = json_encode($xVal, $iOptions);
|
$jsonout = json_encode($xVal, $iOptions);
|
||||||
|
|||||||
Reference in New Issue
Block a user