summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-23 10:37:39 +0100
committerAndrew Dolgov <[email protected]>2007-08-23 10:37:39 +0100
commit9fdf7824f6bb053b23c1b0d303424820afb448a8 (patch)
tree42858c02e983f80b24b66bb4e9a98faae33ad0ed /backend.php
parent9ff29d0c749ae010d62b5b8a9f54f1cceb6dad8b (diff)
add experimental support for simplepie (once again)
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php8
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) {