enhanced mop_flush
[brisk.git] / web / Obj / brisk.phh
index 9051a75..1ff1f9f 100644 (file)
@@ -286,7 +286,9 @@ Copyright 2006-2009 <a href=\\"mailto:brisk@alternativeoutput.it\\">Matteo Nasta
 
 function mop_flush()
 {
-    ob_flush();
+    for ($i = 0; $i < ob_get_level(); $i++)
+        ob_end_flush();
+    ob_implicit_flush(1);
     flush();
 }