diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-04-02 11:34:38 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-04-02 11:34:38 +0200 |
commit | d059ba9bb09b872361eee77c46cbd4aba0042e83 (patch) | |
tree | 30e365e4c4b9f7d089a29bc8a5805b3e62c79baa /lib | |
parent | 08d7babffe1bded4620d0a3624bdd80522283138 (diff) | |
download | rpg-d059ba9bb09b872361eee77c46cbd4aba0042e83.tar.gz rpg-d059ba9bb09b872361eee77c46cbd4aba0042e83.tar.bz2 |
Fix gzip compression in combination with buffer flushing FS#1927
This introduces a new function called tpl_flush() which should be used
by template authors in favor of the PHP flush() method.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tpl/default/main.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tpl/default/main.php b/lib/tpl/default/main.php index b5717c009..d9231678b 100644 --- a/lib/tpl/default/main.php +++ b/lib/tpl/default/main.php @@ -82,7 +82,7 @@ if (!defined('DOKU_INC')) die(); <?php }?> </div> - <?php flush()?> + <?php tpl_flush()?> <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?> @@ -94,7 +94,7 @@ if (!defined('DOKU_INC')) die(); <div class="clearer"> </div> - <?php flush()?> + <?php tpl_flush()?> <div class="stylefoot"> |