X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fapi.php;h=84cb7b38f623e70e9a7f6a6f8273d230ddbc5965;hb=45b9bd96baa12c426b1a0a629e81908a59f149d9;hp=0753962ab983621a0db8985afff378e50807dc03;hpb=c052d688284fda76c612325b237d8352f2abb5d4;p=friendica.git diff --git a/include/api.php b/include/api.php index 0753962ab9..84cb7b38f6 100644 --- a/include/api.php +++ b/include/api.php @@ -273,7 +273,7 @@ case "atom": case "xml": $data = api_xmlify($data); - $tpl = file_get_contents("view/api_".$templatename."_".$type.".tpl"); + $tpl = get_markup_template("api_".$templatename."_".$type.".tpl"); $ret = replace_macros($tpl, $data); break; case "json":