X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b5480f6e366be7c7d06d8444acc4cfd6a1aa31e2..5d656891ba072d88b8b281d239d0dce9f7bd6a1c:/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));