summaryrefslogtreecommitdiff
path: root/framework/Web/THttpResponse.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-25 09:08:40 +0000
committerctrlaltca@gmail.com <>2011-06-25 09:08:40 +0000
commitcda44920115f2aadd7c3fbe2df13cb48a2cbc0c5 (patch)
treeb367d872dcf3cec40497f4d6755ce7bb47312058 /framework/Web/THttpResponse.php
parent87e7366d4d9d3de79772b851f8772a4011d6227d (diff)
applied further "progressive rendering" patches (#235)
added TFlushOutput component fixed THtmlarea quickstart demo
Diffstat (limited to 'framework/Web/THttpResponse.php')
-rw-r--r--framework/Web/THttpResponse.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/Web/THttpResponse.php b/framework/Web/THttpResponse.php
index 07d11a2c..1f314dda 100644
--- a/framework/Web/THttpResponse.php
+++ b/framework/Web/THttpResponse.php
@@ -482,12 +482,12 @@ class THttpResponse extends TModule implements ITextWriter
if (ob_get_length()>0)
{
if (!$continueBuffering)
- {
- $this->_bufferOutput = false;
- ob_end_flush();
- }
+ {
+ $this->_bufferOutput = false;
+ ob_end_flush();
+ }
else
- ob_flush();
+ ob_flush();
flush();
}
}