summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-02 02:11:11 +0400
committerAndrew Dolgov <[email protected]>2013-05-02 02:11:11 +0400
commit5d0d3887af6713a8b3a4d46389aa1ff2216f05f5 (patch)
tree6abad9c8becf55ddf35a57a14386c6c40dbb4ad2 /include
parent15c762beda9f02acfba5e680a10025f28b8978bc (diff)
add _DISABLE_HTTP_304
Diffstat (limited to 'include')
-rw-r--r--include/rssfuncs.php4
1 files changed, 4 insertions, 0 deletions
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"));