From: Tim Starling Date: Wed, 8 Nov 2006 06:33:54 +0000 (+0000) Subject: Don't cache error pages. X-Git-Tag: 1.31.0-rc.0~55258 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=42476174bad8f4855654ed404786825a1978e196;p=lhc%2Fweb%2Fwiklou.git Don't cache error pages. --- diff --git a/thumb.php b/thumb.php index a056dccdac..9f7ed88627 100644 --- a/thumb.php +++ b/thumb.php @@ -73,6 +73,7 @@ if ( $thumb && $thumb->path ) { } else { $badtitle = wfMsg( 'badtitle' ); $badtitletext = wfMsg( 'badtitletext' ); + header( 'Cache-Control: no-cache' ); echo " $badtitle