From: flyingmana Date: Tue, 21 Jun 2011 19:59:34 +0000 (+0200) Subject: allow cross-origin requests for host-meta X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=253a55846a0a62eb8d603009f09d283e2cf8059d;p=quix0rs-gnu-social.git allow cross-origin requests for host-meta --- 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(); }