diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2007-02-21 07:27:15 +0000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2007-02-21 07:27:15 +0000 |
commit | 9ea05545197378466dc3ceee0f55bcd5819264cb (patch) | |
tree | df8f9df6024e0ecd35769152027fb5f6f1dee8e1 /trackback.php | |
parent | c39aeb62f7e8dfb6ba6467beb2d9d6f97fd84959 (diff) |
Aktualisierung auf MediaWiki 1.9.3
Diffstat (limited to 'trackback.php')
-rw-r--r-- | trackback.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/trackback.php b/trackback.php index 6d2d826b..6e4ee982 100644 --- a/trackback.php +++ b/trackback.php @@ -12,6 +12,7 @@ require_once('DatabaseFunctions.php'); * */ function XMLsuccess() { + header("Content-Type: application/xml; charset=utf-8"); echo " <?xml version=\"1.0\" encoding=\"utf-8\"?> <response> @@ -23,6 +24,7 @@ function XMLsuccess() { function XMLerror($err = "Invalid request.") { header("HTTP/1.0 400 Bad Request"); + header("Content-Type: application/xml; charset=utf-8"); echo " <?xml version=\"1.0\" encoding=\"utf-8\"?> <response> |