diff options
author | Friendika <info@friendika.com> | 2011-05-11 04:37:13 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-11 04:37:13 -0700 |
commit | b2e92e0af32f86212d15748c6d432d658905d4b6 (patch) | |
tree | 72bf3054b2c1827166f632d7a1970a266c575134 /include/api.php | |
parent | a00813497fccf295d72e35537599409b3f1eaa22 (diff) | |
download | volse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.tar.gz volse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.tar.bz2 volse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.zip |
deprecate load_view_file
Diffstat (limited to 'include/api.php')
-rw-r--r-- | include/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php index 0753962ab..84cb7b38f 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": |