X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e4a51e460e0e7020fed0eeeb8b6cce7148e0bb58..33ff96fd8323040f4551839e55c061b048329f66:/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);