correct header Content-Type: application/xrd+xml

This commit is contained in:
Michiel de Jong 2012-02-22 19:05:41 +00:00
parent 9850820b42
commit 3f87c2cedb
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ if($_SERVER['SCRIPT_NAME'] == '/.well-known/host-meta.php') {
} else {
header('Please-first: activate');
}
header("Content-Type: application/xml+xrd");
header("Content-Type: application/xrd+xml");
echo "<";
?>
?xml version="1.0" encoding="UTF-8"?>

View File

@ -4,7 +4,7 @@ if($_SERVER['SCRIPT_NAME'] == '/.well-known/webfinger.php') {
} else {
header('Please-first: activate');
}
// header("Content-Type: application/xml+xrd");
header("Content-Type: application/xrd+xml");
// calculate the documentroot
// modified version of the one in lib/base.php that takes the .well-known symlink into account