X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b5480f6e366be7c7d06d8444acc4cfd6a1aa31e2..5d656891ba072d88b8b281d239d0dce9f7bd6a1c:/website/status.php diff --git a/website/status.php b/website/status.php index dc497ff5..9f030fb3 100644 --- a/website/status.php +++ b/website/status.php @@ -7,7 +7,7 @@ require_once(CONST_LibDir.'/Status.php'); $oParams = new Nominatim\ParameterParser(); $sOutputFormat = $oParams->getSet('format', array('text', 'json'), 'text'); -$oDB = new Nominatim\DB(); +$oDB = new Nominatim\DB(CONST_Database_DSN); if ($sOutputFormat == 'json') { header('content-type: application/json; charset=UTF-8');