X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3c0df661654432a34ad562f80fc0bc66cfb9de0c..a09db943dadbb4ec3fae718900d0ccb1b500b8bd:/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'];