From 9e54e6fd455326185b54b5e2cb1b7936c7817670 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 23 Sep 2011 06:11:27 -0400
Subject: [PATCH] - Make the whole PHP output non-cacheable (#1487797)

---
 index.php |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/index.php b/index.php
index 60b4cbd..fdd412e 100644
--- a/index.php
+++ b/index.php
@@ -33,6 +33,9 @@
 // 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 ($session_error || $_REQUEST['_err'] == 'session')
     $OUTPUT->show_message('sessionerror', 'error', null, true, -1);
 

--
Gitblit v1.9.1