From 5d0d3887af6713a8b3a4d46389aa1ff2216f05f5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 2 May 2013 02:11:11 +0400 Subject: [PATCH] add _DISABLE_HTTP_304 --- include/rssfuncs.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 594c29633..2f570e37e 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -216,6 +216,10 @@ $last_updated = db_fetch_result($result, 0, "last_updated"); $last_article_timestamp = @strtotime(db_fetch_result($result, 0, "last_article_timestamp")); + + if (defined('_DISABLE_HTTP_304')) + $last_article_timestamp = 0; + $owner_uid = db_fetch_result($result, 0, "owner_uid"); $mark_unread_on_update = sql_bool_to_bool(db_fetch_result($result, 0, "mark_unread_on_update"));