From 8dc349caaca378192051ee08e282de3bc1679c14 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 8 Feb 2017 19:47:34 -0800 Subject: minor theming and whitespace --- Zotlabs/Module/Hostxrd.php | 1 + Zotlabs/Module/Oexchange.php | 2 +- Zotlabs/Module/Wfinger.php | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'Zotlabs/Module') 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 = ''; -- cgit v1.2.3