enhanced mop_flush
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Tue, 31 Jul 2012 13:01:19 +0000 (15:01 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Tue, 31 Jul 2012 13:01:19 +0000 (15:01 +0200)
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();
 }