summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
Diffstat (limited to 'program/include')
-rwxr-xr-xprogram/include/rcube_template.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index 98d8b6057..af688ee06 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -294,7 +294,11 @@ class rcube_template extends rcube_html_page
$this->write();
}
- if ($exit) {
+ // set output asap
+ ob_flush();
+ flush();
+
+ if ($exit) {
exit;
}
}