X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b5480f6e366be7c7d06d8444acc4cfd6a1aa31e2..0495dbe75673f82f863c6b817569d60f16c83d8a:/website/polygons.php diff --git a/website/polygons.php b/website/polygons.php index 418bec09..88b48ae8 100644 --- a/website/polygons.php +++ b/website/polygons.php @@ -13,7 +13,7 @@ $iDays = $oParams->getInt('days', false); $bReduced = $oParams->getBool('reduced', false); $sClass = $oParams->getString('class', false); -$oDB = new Nominatim\DB(); +$oDB = new Nominatim\DB(CONST_Database_DSN); $oDB->connect(); $iTotalBroken = (int) $oDB->getOne('SELECT count(*) FROM import_polygon_error');