From 253a55846a0a62eb8d603009f09d283e2cf8059d Mon Sep 17 00:00:00 2001 From: flyingmana Date: Tue, 21 Jun 2011 21:59:34 +0200 Subject: [PATCH] allow cross-origin requests for host-meta --- actions/hostmeta.php | 1 + 1 file changed, 1 insertion(+) diff --git a/actions/hostmeta.php b/actions/hostmeta.php index 7093a441d7..79ab2e0d9c 100644 --- a/actions/hostmeta.php +++ b/actions/hostmeta.php @@ -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(); }