mirror of
https://github.com/friendica/friendica
synced 2025-04-24 09:10:17 +00:00
deprecate load_view_file
This commit is contained in:
parent
a00813497f
commit
b2e92e0af3
36 changed files with 135 additions and 102 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue