diff options
author | Andrew Dolgov <[email protected]> | 2007-08-23 10:37:39 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-23 10:37:39 +0100 |
commit | 9fdf7824f6bb053b23c1b0d303424820afb448a8 (patch) | |
tree | 42858c02e983f80b24b66bb4e9a98faae33ad0ed /backend.php | |
parent | 9ff29d0c749ae010d62b5b8a9f54f1cceb6dad8b (diff) |
add experimental support for simplepie (once again)
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/backend.php b/backend.php index 4b749f9a9..0e4541e74 100644 --- a/backend.php +++ b/backend.php @@ -64,8 +64,12 @@ $op == "digestSend" || $op == "viewfeed" || $op == "publish" || $op == "globalUpdateFeeds") && !$_REQUEST["noxml"]) { header("Content-Type: application/xml; charset=utf-8"); - } else { - header("Content-Type: text/html; charset=utf-8"); + } else { + if (!$_REQUEST["noxml"]) { + header("Content-Type: text/html; charset=utf-8"); + } else { + header("Content-Type: text/plain; charset=utf-8"); + } } if (!$op) { |