From: Gabriel Wicke Date: Tue, 3 Feb 2004 14:39:50 +0000 (+0000) Subject: typo X-Git-Tag: 1.3.0beta1~1024 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=a017448eaf3ab04d4892098d4b51c9eaa9e0eb62;p=lhc%2Fweb%2Fwiklou.git typo --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 78cca90da9..e14ac1aa45 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -251,7 +251,7 @@ class OutputPage { # FIXME: This header may cause trouble with some versions of Internet Explorer header( "Vary: Accept-Encoding, Cookie" ); if( $this->mLastModified != "" ) { - if( $wgUseSquid && ! isset( $_COOKIE[ini_get( "session.name") ] ) ) { + if( $wgUseSquid && ! isset( $_COOKIE[ini_get( "session.name") ] ) ) { if ( $wgUseESI ) { # We'll purge the proxy cache explicitly, but require end user agents # to revalidate against the proxy on each visit. @@ -269,7 +269,7 @@ class OutputPage { wfDebug( "** local proxy caching; {$this->mLastModified} **\n", false ); # start with a shorter timeout for initial testing # header( "Cache-Control: s-maxage=2678400, must-revalidate, max-age=0" ); - header( "Cache-Control: s-maxage='.$wgSquidMaxage.', must-revalidate, max-age=0" ); + header( 'Cache-Control: s-maxage='.$wgSquidMaxage.', must-revalidate, max-age=0' ); } } else { # We do want clients to cache if they can, but they *must* check for updates