X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2a39bc6e68a114a02cc57e4bab95cd316f6aa5cf..2a4198f94d1c52bb7e0042cf1b4074f277538384:/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);