noxml option in url to prevent setting xml content-type for rpc debugging
This commit is contained in:
parent
8bbb8466df
commit
0bc694bfe4
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
$op = $_REQUEST["op"];
|
$op = $_REQUEST["op"];
|
||||||
|
|
||||||
if ($op == "rpc" || $op == "updateAllFeeds") {
|
if (($op == "rpc" || $op == "updateAllFeeds") && !$_REQUEST["noxml"]) {
|
||||||
header("Content-Type: application/xml");
|
header("Content-Type: application/xml");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue