X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b5480f6e366be7c7d06d8444acc4cfd6a1aa31e2..496a3d29db0edcc7f2ed5bd279aba1da53f24d3c:/website/details.php diff --git a/website/details.php b/website/details.php index 2f91b2bb..91440b54 100644 --- a/website/details.php +++ b/website/details.php @@ -25,7 +25,7 @@ $bIncludeHierarchy = $oParams->getBool('hierarchy', false); $bGroupHierarchy = $oParams->getBool('group_hierarchy', false); $bIncludePolygonAsGeoJSON = $oParams->getBool('polygon_geojson', false); -$oDB = new Nominatim\DB(); +$oDB = new Nominatim\DB(CONST_Database_DSN); $oDB->connect(); $sLanguagePrefArraySQL = $oDB->getArraySQL($oDB->getDBQuotedList($aLangPrefOrder));