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