X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/38874233816367831c5c30cea0db16d48a3d7016..08f77067cb4b32c91f991924ff718a0508f0fbef:/utils/query.php diff --git a/utils/query.php b/utils/query.php index 05875d64..85ec8737 100755 --- a/utils/query.php +++ b/utils/query.php @@ -28,12 +28,12 @@ $aCMDOptions getCmdOpt($_SERVER['argv'], $aCMDOptions, $aCMDResult, true, true); $oDB =& getDB(); -$oParams = new ParameterParser($aCMDResult); +$oParams = new Nominatim\ParameterParser($aCMDResult); if ($oParams->getBool('search')) { if (isset($aCMDResult['nodedupe'])) $aCMDResult['dedupe'] = 'false'; - $oGeocode = new Geocode($oDB); + $oGeocode = new Nominatim\Geocode($oDB); $oGeocode->setLanguagePreference($oParams->getPreferredLanguages(false)); $oGeocode->loadParamArray($oParams);