X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4e2fe6427ce03a0ed3c5fdfe384f7867ef52fcca..2a4198f94d1c52bb7e0042cf1b4074f277538384:/website/lookup.php?ds=inline diff --git a/website/lookup.php b/website/lookup.php old mode 100755 new mode 100644 index ec2a3a8a..20d06af0 --- a/website/lookup.php +++ b/website/lookup.php @@ -1,7 +1,5 @@ getPreferredLanguages(); -$oDB =& getDB(); +$oDB = new Nominatim\DB(); +$oDB->connect(); $hLog = logStart($oDB, 'place', $_SERVER['QUERY_STRING'], $aLangPrefOrder);