From 1a98a6a5db16edcf2fdebcb1fd0919c6582ba513 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Wed, 06 Dec 2006 16:41:27 -0500 Subject: [PATCH] Preview pane and marking as read (#1484132) --- program/include/rcube_shared.inc | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index 7a0fd05..2ac3f3c 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -1218,8 +1218,12 @@ // send header with expire date 30 days in future function send_future_expire_header() { - if (!headers_sent()) - header("Expires: ".gmdate("D, d M Y H:i:s", mktime()+2600000)." GMT"); + if (headers_sent()) + return; + + header("Expires: ".gmdate("D, d M Y H:i:s", mktime()+2600000)." GMT"); + header("Cache-Control: "); + header("Pragma: "); } -- Gitblit v1.9.1