X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4e2fe6427ce03a0ed3c5fdfe384f7867ef52fcca..c148b768f4926d578c499d24d93dbf6ea5b0b7e2:/website/lookup.php 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);