correct header Content-Type: application/xrd+xml
This commit is contained in:
parent
9850820b42
commit
3f87c2cedb
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ if($_SERVER['SCRIPT_NAME'] == '/.well-known/host-meta.php') {
|
||||||
} else {
|
} else {
|
||||||
header('Please-first: activate');
|
header('Please-first: activate');
|
||||||
}
|
}
|
||||||
header("Content-Type: application/xml+xrd");
|
header("Content-Type: application/xrd+xml");
|
||||||
echo "<";
|
echo "<";
|
||||||
?>
|
?>
|
||||||
?xml version="1.0" encoding="UTF-8"?>
|
?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
|
@ -4,7 +4,7 @@ if($_SERVER['SCRIPT_NAME'] == '/.well-known/webfinger.php') {
|
||||||
} else {
|
} else {
|
||||||
header('Please-first: activate');
|
header('Please-first: activate');
|
||||||
}
|
}
|
||||||
// header("Content-Type: application/xml+xrd");
|
header("Content-Type: application/xrd+xml");
|
||||||
|
|
||||||
// calculate the documentroot
|
// calculate the documentroot
|
||||||
// modified version of the one in lib/base.php that takes the .well-known symlink into account
|
// modified version of the one in lib/base.php that takes the .well-known symlink into account
|
||||||
|
|
Loading…
Reference in a new issue