summaryrefslogtreecommitdiff
path: root/program/include/rcube_template.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-07-13 11:22:28 +0000
committeralecpl <alec@alec.pl>2009-07-13 11:22:28 +0000
commit3536577bcbc908dbfd26d8b74696ce3da30bf48b (patch)
tree811df6d0e0b29140b2e09ab58d51b32ea1995502 /program/include/rcube_template.php
parent99a4539170b87fbf665e4b6d8884f79d28903007 (diff)
- improve responsiveness by flushing template output asap, also set the \Seen flag after message page display
Diffstat (limited to 'program/include/rcube_template.php')
-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;
}
}