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:
22b1c2a
)
(bug 26) Defer sending cache headers until the skin runs, so that the skin can declar...
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 12 Nov 2004 09:34:11 +0000
(09:34 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 12 Nov 2004 09:34:11 +0000
(09:34 +0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
9177c31
..
6403576
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-382,7
+382,9
@@
class OutputPage {
}
- $this->sendCacheControl();
+ # Buffer output; final headers may depend on later processing
+ ob_start();
+
$this->transformBuffer();
# Disable temporary placeholders, so that the skin produces HTML
@@
-397,7
+399,9
@@
class OutputPage {
}
$sk->outputPage( $this );
- # flush();
+
+ $this->sendCacheControl();
+ ob_end_flush();
}
function out( $ins ) {