diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-03 18:58:14 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-03 18:58:14 +0000 |
commit | 73047ab147adde87e34ca356f7c92f1d6ccc6fea (patch) | |
tree | 096e1ee32b03e04d922d8f79f61039b61297636d /mod | |
parent | ca347167e27c1ec6bc23d3e428a4c9315861b2d1 (diff) | |
download | elgg-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
Diffstat (limited to 'mod')
-rw-r--r-- | mod/profile/icon.php | 2 | ||||
-rw-r--r-- | mod/profile/icondirect.php | 2 |
2 files changed, 2 insertions, 2 deletions
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;
}
|