summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-09-23 10:11:27 +0000
committeralecpl <alec@alec.pl>2011-09-23 10:11:27 +0000
commit9e54e6fd455326185b54b5e2cb1b7936c7817670 (patch)
tree6679ee0ce143cd439e6fb707e621029379cdeae1 /index.php
parentf8ca748ab84ed267aef9a95da5bc709da96af3cd (diff)
- Make the whole PHP output non-cacheable (#1487797)
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.php b/index.php
index 60b4cbd4b..fdd412e5a 100644
--- a/index.php
+++ b/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);