mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 05:18:00 +00:00
merge json and jsonv2 templates, they were very similar
This commit is contained in:
committed by
Sarah Hoffmann
parent
c04541b4da
commit
88beeb7916
@@ -76,4 +76,6 @@ if ($sOutputFormat == 'html') {
|
||||
$sTileURL = CONST_Map_Tile_URL;
|
||||
$sTileAttribution = CONST_Map_Tile_Attribution;
|
||||
}
|
||||
include(CONST_BasePath.'/lib/template/address-'.$sOutputFormat.'.php');
|
||||
|
||||
$sOutputTemplate = ($sOutputFormat=='jsonv2' ? 'json' : $sOutputFormat);
|
||||
include(CONST_BasePath.'/lib/template/address-'.$sOutputTemplate.'.php');
|
||||
|
||||
Reference in New Issue
Block a user