]> git.mxchange.org Git - friendica.git/blobdiff - mod/xrd.php
Merge pull request #104 from chriscase/master
[friendica.git] / mod / xrd.php
index a0ecbaea806890aeffa4339abfb2197c30d3b66d..8ac6ff7cfca81d5b174f2d9f7ac309ab17dcbc26 100644 (file)
@@ -27,7 +27,7 @@ function xrd_content(&$a) {
 
        header("Content-type: text/xml");
 
-       $tpl = load_view_file('view/xrd_person.tpl');
+       $tpl = file_get_contents('view/xrd_person.tpl');
 
        $o = replace_macros($tpl, array(
                '$accturi'     => $uri,