diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/template.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/inc/template.php b/inc/template.php index 7b0ef466b..3eda2f4af 100644 --- a/inc/template.php +++ b/inc/template.php @@ -1407,5 +1407,18 @@ function tpl_subscribe() { echo '</div>'; } +/** + * Tries to send already created content right to the browser + * + * Wraps around ob_flush() and flush() + * + * @author Andreas Gohr <andi@splitbrain.org> + */ +function tpl_flush(){ + ob_flush(); + flush(); +} + + //Setup VIM: ex: et ts=4 enc=utf-8 : |