X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/cf39e07dba72373302e2d1a48de3083339d0decb..248fca51627a8989603344e813bf78e3131de4a8:/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);