From 73047ab147adde87e34ca356f7c92f1d6ccc6fea Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 3 Mar 2009 18:58:14 +0000 Subject: Moving to a smaller chunk size. git-svn-id: https://code.elgg.org/elgg/trunk@3051 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 +- mod/profile/icon.php | 2 +- mod/profile/icondirect.php | 2 +- simplecache/view.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 7dc0e24a8..379c4e543 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -1073,7 +1073,7 @@ 'sysmessages' => system_messages(null,"") ) ); - $split_output = str_split($output, 8192); + $split_output = str_split($output, 1024); foreach($split_output as $chunk) echo $chunk; diff --git a/mod/profile/icon.php b/mod/profile/icon.php index c9bcb0480..c2ab41e8d 100644 --- a/mod/profile/icon.php +++ b/mod/profile/icon.php @@ -51,7 +51,7 @@ header("Pragma: public"); header("Cache-Control: public"); header("Content-Length: " . strlen($contents)); - $splitString = str_split($contents, 8192); + $splitString = str_split($contents, 1024); foreach($splitString as $chunk) echo $chunk; diff --git a/mod/profile/icondirect.php b/mod/profile/icondirect.php index 1bfa51fee..731658f7f 100644 --- a/mod/profile/icondirect.php +++ b/mod/profile/icondirect.php @@ -91,7 +91,7 @@ header("Pragma: public"); header("Cache-Control: public"); header("Content-Length: " . strlen($contents)); - $splitString = str_split($contents, 8192); + $splitString = str_split($contents, 1024); foreach($splitString as $chunk) echo $chunk; } diff --git a/simplecache/view.php b/simplecache/view.php index 8d37a0cdc..da6f68777 100644 --- a/simplecache/view.php +++ b/simplecache/view.php @@ -62,7 +62,7 @@ } } - $split_output = str_split($contents, 8192); + $split_output = str_split($contents, 1024); foreach($split_output as $chunk) echo $chunk; -- cgit v1.2.3