Skip to content

Commit

Permalink
Added a temporary hack to disable caching completely again until we can
Browse files Browse the repository at this point in the history
understand the problem better.

This new line must be removed before 1.4.3.
  • Loading branch information
moodler committed Dec 8, 2004
1 parent 9c21bcd commit 0970dd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/weblib.php
Expand Up @@ -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');
Expand Down

0 comments on commit 0970dd6

Please sign in to comment.