From 0970dd6a48540cb80ff402aed1f5af1738c06a27 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 8 Dec 2004 03:30:26 +0000 Subject: [PATCH] Added a temporary hack to disable caching completely again until we can understand the problem better. This new line must be removed before 1.4.3. --- lib/weblib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/weblib.php b/lib/weblib.php index 38ccb46888989..42e5b54b20619 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1165,6 +1165,8 @@ function print_header ($title="", $heading="", $navigation="", $focus="", $meta= $direction = " dir=\"ltr\""; } + $cache = false; //// FIXME: This is a temporary hack until caching is solved better + if ($cache) { @session_cache_limiter('private'); @header('Cache-Control: private');