From 3536577bcbc908dbfd26d8b74696ce3da30bf48b Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 13 Jul 2009 11:22:28 +0000 Subject: - improve responsiveness by flushing template output asap, also set the \Seen flag after message page display --- program/include/rcube_template.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'program/include') 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; } } -- cgit v1.2.3