X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5ccb499a6f389913fe8c8c745a31dff40907b98c..051998dd80b0def50058266b7adbdf2e971032eb:/website/search.php?ds=sidebyside diff --git a/website/search.php b/website/search.php index 497ff598..31944974 100755 --- a/website/search.php +++ b/website/search.php @@ -10,12 +10,7 @@ $oDB =& getDB(); - // Display defaults - $fLat = CONST_Default_Lat; - $fLon = CONST_Default_Lon; - $iZoom = CONST_Default_Zoom; - - $oGeocode =& new Geocode($oDB); + $oGeocode = new Geocode($oDB); $aLangPrefOrder = getPreferredLanguages(); $oGeocode->setLanguagePreference($aLangPrefOrder); @@ -120,8 +115,6 @@ if ($sOutputFormat=='html') { $sDataDate = $oDB->getOne("select TO_CHAR(lastimportdate - '2 minutes'::interval,'YYYY/MM/DD HH24:MI')||' GMT' from import_status limit 1"); - $sTileURL = CONST_Map_Tile_URL; - $sTileAttribution = CONST_Map_Tile_Attribution; } logEnd($oDB, $hLog, sizeof($aSearchResults));