diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2008-03-21 11:49:34 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2008-03-21 11:49:34 +0100 |
commit | 086ae52d12011746a75f5588e877347bc0457352 (patch) | |
tree | e73263c7a29d0f94fafb874562610e16eb292ba8 /trackback.php | |
parent | 749e7fb2bae7bbda855de3c9e319435b9f698ff7 (diff) |
Update auf MediaWiki 1.12.0
Diffstat (limited to 'trackback.php')
-rw-r--r-- | trackback.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/trackback.php b/trackback.php index ba8aa078..d9c51569 100644 --- a/trackback.php +++ b/trackback.php @@ -11,8 +11,7 @@ require_once( './includes/DatabaseFunctions.php' ); */ function XMLsuccess() { header("Content-Type: application/xml; charset=utf-8"); - echo " -<?xml version=\"1.0\" encoding=\"utf-8\"?> + echo "<?xml version=\"1.0\" encoding=\"utf-8\"?> <response> <error>0</error> </response> @@ -23,8 +22,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\"?> + echo "<?xml version=\"1.0\" encoding=\"utf-8\"?> <response> <error>1</error> <message>Invalid request: $err</message> |