]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
allow cross-origin requests for host-meta
authorflyingmana <flyingmana@googlemail.com>
Tue, 21 Jun 2011 19:59:34 +0000 (21:59 +0200)
committerflyingmana <flyingmana@googlemail.com>
Tue, 21 Jun 2011 19:59:34 +0000 (21:59 +0200)
actions/hostmeta.php

index 7093a441d75a9fd26e616c76496b7eb7335bfe2f..79ab2e0d9caca65dd93045737b0f8066d5fa9692 100644 (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();
     }