Change access control to implement more of CORS. Change so OPTIONS requests don't do an actual search/reverse request

This commit is contained in:
Brian Quinion
2012-12-17 00:24:58 +00:00
parent 89af917105
commit 0dd10c3fff
7 changed files with 17 additions and 7 deletions

View File

@@ -138,8 +138,9 @@
$sSQL .= " get_name_by_language(name, ARRAY['ref']) as ref,";
$sSQL .= " st_y(st_centroid(geometry)) as lat, st_x(st_centroid(geometry)) as lon";
$sSQL .= " from placex where place_id = $iPlaceID ";
//var_dump($sSQL);
$aPlace = $oDB->getRow($sSQL);
//var_dump($sSQL, $aPlace); exit;
if ($bShowAddressDetails)
{