summaryrefslogtreecommitdiff
path: root/thumb.php
diff options
context:
space:
mode:
Diffstat (limited to 'thumb.php')
-rw-r--r--thumb.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/thumb.php b/thumb.php
index a056dccd..c325d07a 100644
--- 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' );