X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/bf77b444bf9f18be6bc98c05c8dfc6d796ab30fa..e286536959144de9ab18abf7dce7a58e630b3bbc:/utils/query.php diff --git a/utils/query.php b/utils/query.php index 85ec8737..e3e2e7b8 100755 --- a/utils/query.php +++ b/utils/query.php @@ -1,4 +1,4 @@ -#!/usr/bin/php -Cq +#!@PHP_BIN@ -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";