Forgot to add this message.
[lhc/web/wiklou.git] / thumb.php
index a056dcc..c325d07 100644 (file)
--- a/thumb.php
+++ b/thumb.php
@@ -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' );