From: Andrew Dolgov Date: Sat, 12 Jan 2013 18:47:03 +0000 (+0400) Subject: force text/plain when DevForceUpdate is set X-Git-Tag: 1.7.0~60 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1ae948ed08cb12a8b4712b0c998b8230b38f462b;p=tt-rss.git force text/plain when DevForceUpdate is set --- diff --git a/classes/feeds.php b/classes/feeds.php index 7160779d..d10f1fdf 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -141,6 +141,9 @@ class Feeds extends Handler_Protected { $next_unread_feed, $offset, $vgr_last_feed = false, $override_order = false, $include_children = false) { + if (isset($_REQUEST["DevForceUpdate"])) + header("Content-Type: text/plain"); + $disable_cache = false; $reply = array();