From f932d671e929401ec519372082a1a2810b259337 Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 23 Sep 2011 10:11:27 +0000 Subject: - Make the whole PHP output non-cacheable (#1487797) git-svn-id: https://svn.roundcube.net/trunk@5274 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'roundcubemail/index.php') 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); -- cgit v1.2.3