diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-03 18:32:07 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-03 18:32:07 +0000 |
commit | f2e9012d54dfc2766daaccbfec9080d42d318e1c (patch) | |
tree | b8efe80491f998f482757f3561138e0d64e7f16a /engine/lib/elgglib.php | |
parent | 5ed8cbee1697d8402cbe11de40551fdcc80dbea7 (diff) | |
download | elgg-f2e9012d54dfc2766daaccbfec9080d42d318e1c.tar.gz elgg-f2e9012d54dfc2766daaccbfec9080d42d318e1c.tar.bz2 |
Echoing the large output buffer in chunks
git-svn-id: https://code.elgg.org/elgg/trunk@3048 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index e106e8bd8..7dc0e24a8 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -1066,14 +1066,17 @@ function page_draw($title, $body, $sidebar = "") { // Draw the page - echo elgg_view('pageshells/pageshell', array( + $output = elgg_view('pageshells/pageshell', array( 'title' => $title, 'body' => $body, 'sidebar' => $sidebar, 'sysmessages' => system_messages(null,"") ) ); - + $split_output = str_split($output, 8192); + + foreach($split_output as $chunk) + echo $chunk; } /** |