From 1efaae2391b7f365add70f8abb8fc370210a110d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 7 Jan 2006 19:46:57 +0000 Subject: Call ob_flush() to dump text to browser --- etc/inc/pfsense-utils.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc/inc/pfsense-utils.inc') diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index c5e27b8..0328298 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -709,6 +709,8 @@ function get_filename_from_url($url) { function update_output_window($text) { $log = ereg_replace("\n", "\\n", $text); echo "\n"; + /* ensure that contents are written out */ + ob_flush(); } /* @@ -729,6 +731,8 @@ function get_dir($dir) { */ function update_status($status) { echo "\n"; + /* ensure that contents are written out */ + ob_flush(); } /* -- cgit v1.1