X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/620100a5ac943e86e54f81f40dc52f1dd0d61330..d020e05f5bf4044d34332e3323ed7459adb1de48:/website/reverse.php diff --git a/website/reverse.php b/website/reverse.php index 5217f734..f760dc09 100755 --- a/website/reverse.php +++ b/website/reverse.php @@ -76,4 +76,10 @@ exit; } + 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; + } include(CONST_BasePath.'/lib/template/address-'.$sOutputFormat.'.php');