1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-08 13:49:14 +00:00

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

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");
}