aboutsummaryrefslogtreecommitdiffstats
path: root/include/hostxrd.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/hostxrd.php')
-rw-r--r--include/hostxrd.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hostxrd.php b/include/hostxrd.php
index 987175c33..7040f927d 100644
--- a/include/hostxrd.php
+++ b/include/hostxrd.php
@@ -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);