dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Workaround ugly Safari/Chrome handling of <col> tags for hidden diffs (bug 18538)
[lhc/web/wiklou.git]
/
includes
/
StreamFile.php
diff --git
a/includes/StreamFile.php
b/includes/StreamFile.php
index
4abd736
..
bdd2a2e
100644
(file)
--- a/
includes/StreamFile.php
+++ b/
includes/StreamFile.php
@@
-48,6
+48,7
@@
function wfStreamFile( $fname, $headers = array() ) {
$modsince = preg_replace( '/;.*$/', '', $_SERVER['HTTP_IF_MODIFIED_SINCE'] );
$sinceTime = strtotime( $modsince );
if ( $stat['mtime'] <= $sinceTime ) {
+ ini_set('zlib.output_compression', 0);
header( "HTTP/1.0 304 Not Modified" );
return;
}