diff options
author | Andrew Dolgov <[email protected]> | 2013-01-12 22:47:03 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-01-12 22:47:03 +0400 |
commit | 1ae948ed08cb12a8b4712b0c998b8230b38f462b (patch) | |
tree | b6e9d7599deca5a9c0bc2030b6350fa904a5fe29 | |
parent | fb226bb16db53f1f8a15bc9a3c4ea3f995fc5092 (diff) |
force text/plain when DevForceUpdate is set
-rw-r--r-- | classes/feeds.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 7160779dd..d10f1fdfa 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();
|