aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Hostxrd.php1
-rw-r--r--Zotlabs/Module/Oexchange.php2
-rw-r--r--Zotlabs/Module/Wfinger.php2
3 files changed, 4 insertions, 1 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);
diff --git a/Zotlabs/Module/Oexchange.php b/Zotlabs/Module/Oexchange.php
index 24fc14821..f36511134 100644
--- a/Zotlabs/Module/Oexchange.php
+++ b/Zotlabs/Module/Oexchange.php
@@ -16,7 +16,7 @@ class Oexchange extends \Zotlabs\Web\Controller {
}
}
- function get() {
+ function get() {
if(! local_channel()) {
if(remote_channel()) {
diff --git a/Zotlabs/Module/Wfinger.php b/Zotlabs/Module/Wfinger.php
index fa1e11518..04eed47c3 100644
--- a/Zotlabs/Module/Wfinger.php
+++ b/Zotlabs/Module/Wfinger.php
@@ -8,6 +8,8 @@ class Wfinger extends \Zotlabs\Web\Controller {
function init() {
+ session_write_close();
+
$result = array();
$scheme = '';