diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-09-23 10:11:27 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-09-23 10:11:27 +0000 |
| commit | f932d671e929401ec519372082a1a2810b259337 (patch) | |
| tree | dda198884c538c40e89bf77605019857617684ee /roundcubemail/index.php | |
| parent | 0fda3164b7460c255b08f1c3e79cdfd16d2fd37b (diff) | |
- Make the whole PHP output non-cacheable (#1487797)
git-svn-id: https://svn.roundcube.net/trunk@5274 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
| -rw-r--r-- | roundcubemail/index.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php index 60b4cbd4b..fdd412e5a 100644 --- a/roundcubemail/index.php +++ b/roundcubemail/index.php @@ -33,6 +33,9 @@ require_once 'program/include/iniset.php'; // init application, start session, init output class, etc. $RCMAIL = rcmail::get_instance(); +// Make the whole PHP output non-cacheable (#1487797) +send_nocacheing_headers(); + // turn on output buffering ob_start(); @@ -177,7 +180,7 @@ if (empty($RCMAIL->user->ID)) { ) ); } - + if ($session_error || $_REQUEST['_err'] == 'session') $OUTPUT->show_message('sessionerror', 'error', null, true, -1); |
