summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-19 06:10:29 +0100
committerAndrew Dolgov <[email protected]>2005-11-19 06:10:29 +0100
commit0bc694bfe4f60fddc0f2702654e3011177b848ce (patch)
tree45b6f19fa47cb78b502447c17ef9f8b866ba713c /backend.php
parent8bbb8466df5047ee13c0b8a6c796ac63b578f10f (diff)
noxml option in url to prevent setting xml content-type for rpc debugging
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 6dec10d16..ab82cc3c3 100644
--- a/backend.php
+++ b/backend.php
@@ -13,7 +13,7 @@
$op = $_REQUEST["op"];
- if ($op == "rpc" || $op == "updateAllFeeds") {
+ if (($op == "rpc" || $op == "updateAllFeeds") && !$_REQUEST["noxml"]) {
header("Content-Type: application/xml");
}