1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:25:57 +00:00

disable application/xml content-type for op=view zoom mode

This commit is contained in:
Andrew Dolgov
2008-12-16 10:24:48 +01:00
parent 37ce028c12
commit fac5e7d1ed

View File

@@ -49,10 +49,12 @@
init_connection($link);
$op = $_REQUEST["op"];
$mode = $_REQUEST["mode"];
$print_exec_time = false;
if ((!$op || $op == "rpc" || $op == "rss" || $op == "view" ||
if ((!$op || $op == "rpc" || $op == "rss" ||
($op == "view" && $mode != "zoom") ||
$op == "digestSend" || $op == "viewfeed" || $op == "publish" ||
$op == "globalUpdateFeeds") && !$_REQUEST["noxml"]) {
header("Content-Type: application/xml; charset=utf-8");