allow cross-origin requests for host-meta

This commit is contained in:
flyingmana 2011-06-21 21:59:34 +02:00
parent aab265709a
commit 253a55846a

View File

@ -59,6 +59,7 @@ class HostMetaAction extends Action
Event::handle('EndHostMetaLinks', array(&$xrd->links));
}
header('Access-Control-Allow-Origin: *');
header('Content-type: application/xrd+xml');
print $xrd->toXML();
}