X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fhostxrd.php;h=7040f927d6c31cc252c4033c975948085e31a756;hb=5e1335ac892ce07bf7b1a3a043f71b8abbed8dba;hp=987175c33164ff7336c9a53259409ab70168314d;hpb=ee1641393550eea9200f792707070e024879d466;p=friendica.git diff --git a/include/hostxrd.php b/include/hostxrd.php index 987175c331..7040f927d6 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);