dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
554b5a0
)
don't cache error pages
author
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 1 Nov 2006 11:21:09 +0000
(11:21 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 1 Nov 2006 11:21:09 +0000
(11:21 +0000)
includes/StreamFile.php
patch
|
blob
|
history
diff --git
a/includes/StreamFile.php
b/includes/StreamFile.php
index
81538a8
..
6f0f6b5
100644
(file)
--- a/
includes/StreamFile.php
+++ b/
includes/StreamFile.php
@@
-6,6
+6,7
@@
function wfStreamFile( $fname ) {
$stat = @stat( $fname );
if ( !$stat ) {
header( 'HTTP/1.0 404 Not Found' );
+ header( 'Cache-Control: no-cache' );
$encFile = htmlspecialchars( $fname );
$encScript = htmlspecialchars( $_SERVER['SCRIPT_NAME'] );
echo "<html><body>