]> git.mxchange.org Git - friendica.git/blobdiff - mod/xrd.php
statusnet improvements
[friendica.git] / mod / xrd.php
index a0ecbaea806890aeffa4339abfb2197c30d3b66d..de0c20ea5d39c5b7ef2b2f12a387429f1fe26d1b 100644 (file)
@@ -24,10 +24,10 @@ function xrd_content(&$a) {
 
        $salmon_key = salmon_key($r[0]['spubkey']);
 
-
+       header('Access-Control-Allow-Origin: *');
        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,