aboutsummaryrefslogtreecommitdiffstats
path: root/mod/hostxrd.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-09-18 18:51:39 +0200
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-09-18 18:51:39 +0200
commitce28760c2a7319f3cdc25c39a62582b722e91006 (patch)
tree802f64d3988fc14a277c79ee5192693a4202b502 /mod/hostxrd.php
parent438cb1d7e0f1518dd35a3a377dfd9a9fd885f80c (diff)
parent87c8cf489210136958d2e0b44e4c3ca48c1ff8af (diff)
downloadvolse-hubzilla-ce28760c2a7319f3cdc25c39a62582b722e91006.tar.gz
volse-hubzilla-ce28760c2a7319f3cdc25c39a62582b722e91006.tar.bz2
volse-hubzilla-ce28760c2a7319f3cdc25c39a62582b722e91006.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mod/hostxrd.php')
-rw-r--r--mod/hostxrd.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/hostxrd.php b/mod/hostxrd.php
index ef86f2dd9..0e18c133b 100644
--- a/mod/hostxrd.php
+++ b/mod/hostxrd.php
@@ -2,7 +2,8 @@
function hostxrd_init(&$a) {
header('Access-Control-Allow-Origin: *');
- header("Content-type: text/xml");
+ header("Content-type: application/xrd+xml");
+ logger('hostxrd',LOGGER_DEBUG);
$tpl = get_markup_template('xrd_host.tpl');
$x = replace_macros(get_markup_template('xrd_host.tpl'), array(