aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-03 18:58:14 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-03 18:58:14 +0000
commit73047ab147adde87e34ca356f7c92f1d6ccc6fea (patch)
tree096e1ee32b03e04d922d8f79f61039b61297636d
parentca347167e27c1ec6bc23d3e428a4c9315861b2d1 (diff)
downloadelgg-73047ab147adde87e34ca356f7c92f1d6ccc6fea.tar.gz
elgg-73047ab147adde87e34ca356f7c92f1d6ccc6fea.tar.bz2
Moving to a smaller chunk size.
git-svn-id: https://code.elgg.org/elgg/trunk@3051 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/elgglib.php2
-rw-r--r--mod/profile/icon.php2
-rw-r--r--mod/profile/icondirect.php2
-rw-r--r--simplecache/view.php2
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;