X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/64f7b13888fbe455632f7ad981f8f04d68701671..d3604b8594ce1c2ec01bac675fc35b49ab8fc7df:/utils/query.php?ds=sidebyside diff --git a/utils/query.php b/utils/query.php index 9694bbb9..f8047ffc 100644 --- a/utils/query.php +++ b/utils/query.php @@ -25,7 +25,9 @@ $aCMDOptions ); getCmdOpt($_SERVER['argv'], $aCMDOptions, $aCMDResult, true, true); -$oDB =& getDB(); +$oDB = new Nominatim\DB; +$oDB->connect(); + $oParams = new Nominatim\ParameterParser($aCMDResult); if ($oParams->getBool('search')) {