aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Hostxrd.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Hostxrd.php')
-rw-r--r--Zotlabs/Module/Hostxrd.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Hostxrd.php b/Zotlabs/Module/Hostxrd.php
index 1aae8da9e..c1d5cf0e9 100644
--- a/Zotlabs/Module/Hostxrd.php
+++ b/Zotlabs/Module/Hostxrd.php
@@ -5,6 +5,7 @@ namespace Zotlabs\Module;
class Hostxrd extends \Zotlabs\Web\Controller {
function init() {
+ session_write_close();
header('Access-Control-Allow-Origin: *');
header("Content-type: application/xrd+xml");
logger('hostxrd',LOGGER_DEBUG);