Index: trunk/phase3/includes/cache/HTMLFileCache.php |
— | — | @@ -112,14 +112,13 @@ |
113 | 113 | if ( $this->useGzip() ) { |
114 | 114 | if ( wfClientAcceptsGzip() ) { |
115 | 115 | header( 'Content-Encoding: gzip' ); |
| 116 | + readfile( $filename ); |
116 | 117 | } else { |
117 | 118 | /* Send uncompressed */ |
118 | 119 | wfDebug( __METHOD__ . " uncompressing cache file and sending it\n" ); |
119 | 120 | readgzfile( $filename ); |
120 | | - return; |
121 | 121 | } |
122 | 122 | } |
123 | | - readfile( $filename ); |
124 | 123 | $context->getOutput()->disable(); // tell $wgOut that output is taken care of |
125 | 124 | } |
126 | 125 | |