X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b5480f6e366be7c7d06d8444acc4cfd6a1aa31e2..2c909c1f0c7c6e6a176eb5cc15e8d6a45449ebe8:/website/polygons.php?ds=sidebyside 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');