summaryrefslogtreecommitdiff
path: root/program/include/rcube_shared.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-12-06 21:41:27 +0000
committerthomascube <thomas@roundcube.net>2006-12-06 21:41:27 +0000
commit1a98a6a5db16edcf2fdebcb1fd0919c6582ba513 (patch)
tree8ba883b0d9dfc50e0c8ca4a00af26aa8901eef45 /program/include/rcube_shared.inc
parentb517af4a471283adc62ef82cb30b97e896bb6799 (diff)
Preview pane and marking as read (#1484132)
Diffstat (limited to 'program/include/rcube_shared.inc')
-rw-r--r--program/include/rcube_shared.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc
index 7a0fd059d..2ac3f3c41 100644
--- a/program/include/rcube_shared.inc
+++ b/program/include/rcube_shared.inc
@@ -1218,8 +1218,12 @@ function send_nocacheing_headers()
// 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: ");
}