X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1c85edbda976ff0b06b21ee31973eecafc181231..ff1c78fef5d64b1b0b7eba96332caffb46bc3e21:/utils/warm.php diff --git a/utils/warm.php b/utils/warm.php index 96372aec..8ba746a2 100644 --- a/utils/warm.php +++ b/utils/warm.php @@ -18,7 +18,8 @@ require_once(CONST_BasePath.'/lib/Geocode.php'); require_once(CONST_BasePath.'/lib/PlaceLookup.php'); require_once(CONST_BasePath.'/lib/ReverseGeocode.php'); -$oDB =& getDB(); +$oDB = new Nominatim\DB(); +$oDB->connect(); $bVerbose = $aResult['verbose'];