diff options
Diffstat (limited to 'thumb.php')
-rw-r--r-- | thumb.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -73,12 +73,15 @@ if ( $thumb && $thumb->path ) { } else { $badtitle = wfMsg( 'badtitle' ); $badtitletext = wfMsg( 'badtitletext' ); + header( 'Cache-Control: no-cache' ); + header( 'Content-Type: text/html' ); echo "<html><head> <title>$badtitle</title> <body> <h1>$badtitle</h1> <p>$badtitletext</p> -</body></html>"; +</body></html> +"; } wfProfileOut( 'thumb.php-render' ); |