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