X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/25baaf530dea28b7cf3c72ba4e83f3ebed05629f..abd294912abf844d054d5786dd80b7f1a2170a4d:/website/reverse.php diff --git a/website/reverse.php b/website/reverse.php old mode 100755 new mode 100644 index a7261802..6864d65e --- a/website/reverse.php +++ b/website/reverse.php @@ -1,7 +1,5 @@ getSet('format', array('html', 'xml', 'json', 'jsonv2', 'geojson', 'geocodejson'), 'xml'); +set_exception_handler_by_format($sOutputFormat); // Preferred language $aLangPrefOrder = $oParams->getPreferredLanguages(); @@ -67,6 +66,7 @@ if (isset($aPlace)) { $aPlace = array(); } +logEnd($oDB, $hLog, sizeof($aPlace)?1:0); if (CONST_Debug) { var_dump($aPlace);