mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02: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