X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/57bf76a0e1d766bc90afcb8a748c5e25e7aa6f08..64f7b13888fbe455632f7ad981f8f04d68701671:/utils/query.php diff --git a/utils/query.php b/utils/query.php old mode 100755 new mode 100644 index e3e2e7b8..9694bbb9 --- a/utils/query.php +++ b/utils/query.php @@ -1,7 +1,5 @@ -#!@PHP_BIN@ -Cq getBool('search')) { $aSearchResults = $oGeocode->lookup(); - if (version_compare(phpversion(), '5.4.0', '<')) { - echo json_encode($aSearchResults); - } else { - echo json_encode($aSearchResults, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)."\n"; - } + echo json_encode($aSearchResults, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)."\n"; } else { showUsage($aCMDOptions, true); }