X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/15a1666f8a1e19c338015fccd502be6cfd5c24df..d43f30903c5be80ee9cebc0f45fb661eb4d8b8db:/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');