]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/search.php
Merge pull request #969 from mtmail/update-vagrant-md
[nominatim.git] / website / search.php
index 9f3ae470c03153edf35bede48eae9353660a33ed..346f5b5740a1f96380fb3518ec9b03cb7c259e1a 100755 (executable)
@@ -81,4 +81,5 @@ $sMoreURL = CONST_Website_BaseURL.'search.php?'.http_build_query($aMoreParams);
 
 if (CONST_Debug) exit;
 
-include(CONST_BasePath.'/lib/template/search-'.$sOutputFormat.'.php');
+$sOutputTemplate = ($sOutputFormat=='jsonv2' ? 'json' : $sOutputFormat);
+include(CONST_BasePath.'/lib/template/search-'.$sOutputTemplate.'.php');