X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/dba5b2f86e3b91eade86a851932004a56b34134e..24e52de5f34363dd7fa5cc318d00e7c7135b84ff:/utils/query.php?ds=inline diff --git a/utils/query.php b/utils/query.php old mode 100755 new mode 100644 index 85ec8737..16657daf --- a/utils/query.php +++ b/utils/query.php @@ -1,7 +1,5 @@ -#!/usr/bin/php -Cq getBool('search')) { $aSearchResults = $oGeocode->lookup(); - if (version_compare(phpversion(), "5.4.0", '<')) { + 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";