X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0e4f80bf1bcedcb595a844ff7e1b6fd106ca2356..ca53f9c1bf1576e4750483ee9538b1de49e141ed:/website/details.php diff --git a/website/details.php b/website/details.php old mode 100755 new mode 100644 index c9e86312..474c1d87 --- a/website/details.php +++ b/website/details.php @@ -1,7 +1,5 @@ getSet('format', array('html', 'json'), 'html'); +set_exception_handler_by_format($sOutputFormat); $aLangPrefOrder = $oParams->getPreferredLanguages(); $sLanguagePrefArraySQL = 'ARRAY['.join(',', array_map('getDBQuoted', $aLangPrefOrder)).']';