X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b5480f6e366be7c7d06d8444acc4cfd6a1aa31e2..ca3283cbaa0240a52d65d0fc21d39732fca1a305:/website/lookup.php diff --git a/website/lookup.php b/website/lookup.php index e4a98939..737edc62 100644 --- a/website/lookup.php +++ b/website/lookup.php @@ -15,7 +15,7 @@ set_exception_handler_by_format($sOutputFormat); // Preferred language $aLangPrefOrder = $oParams->getPreferredLanguages(); -$oDB = new Nominatim\DB(); +$oDB = new Nominatim\DB(CONST_Database_DSN); $oDB->connect(); $hLog = logStart($oDB, 'place', $_SERVER['QUERY_STRING'], $aLangPrefOrder);