]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/warm.php
Merge branch 'housenumber-zero' of https://github.com/mtmail/Nominatim into mtmail...
[nominatim.git] / utils / warm.php
index 96372aec47e980e5a3ce107f5679811c689dee63..8ba746a2a51328eab92446fbd6a70edd060bd4af 100644 (file)
@@ -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'];