summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_template.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-13 11:22:28 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-13 11:22:28 +0000
commit26d0652aeb644d9ac6b678559d5633602adeaf13 (patch)
tree6988116b17cc007e07361e52234ffa64994a4d33 /roundcubemail/program/include/rcube_template.php
parentc7705868b841b53ffc98b30be7932e058be0518b (diff)
- improve responsiveness by flushing template output asap, also set the \Seen flag after message page display
git-svn-id: https://svn.roundcube.net/trunk@2741 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_template.php')
-rwxr-xr-xroundcubemail/program/include/rcube_template.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php
index 98d8b6057..af688ee06 100755
--- a/roundcubemail/program/include/rcube_template.php
+++ b/roundcubemail/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;
}
}