allow cross-site xrd/lrdd/webfinger

This commit is contained in:
Friendika
2011-06-25 19:40:37 -07:00
parent 59d9070d13
commit c9604ef578
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@
function hostxrd($baseurl) {
header('Access-Control-Allow-Origin: *');
header("Content-type: text/xml");
$tpl = file_get_contents('view/xrd_host.tpl');
echo str_replace('$domain',$baseurl,$tpl);