X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c0d21d0bd3ec04d340c2e716a9f9482d36dff310..1c1e95182698b23372e87ccae9f535dcbb5f7c5a:/website/polygons.php diff --git a/website/polygons.php b/website/polygons.php index 9c657a1d..88b48ae8 100644 --- a/website/polygons.php +++ b/website/polygons.php @@ -1,8 +1,8 @@ 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');