noxml option in url to prevent setting xml content-type for rpc debugging

This commit is contained in:
Andrew Dolgov 2005-11-19 06:10:29 +01:00
parent 8bbb8466df
commit 0bc694bfe4
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
$op = $_REQUEST["op"];
if ($op == "rpc" || $op == "updateAllFeeds") {
if (($op == "rpc" || $op == "updateAllFeeds") && !$_REQUEST["noxml"]) {
header("Content-Type: application/xml");
}