aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/icondirect.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-03 18:22:43 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-03 18:22:43 +0000
commit5ed8cbee1697d8402cbe11de40551fdcc80dbea7 (patch)
tree960c2b57794c876dcf5996d0d3d9492f0ab7bb08 /mod/profile/icondirect.php
parentfdb128ac0ad472854b4fef6ca691ef81fecd3403 (diff)
downloadelgg-5ed8cbee1697d8402cbe11de40551fdcc80dbea7.tar.gz
elgg-5ed8cbee1697d8402cbe11de40551fdcc80dbea7.tar.bz2
Splitting output into chunks.
git-svn-id: https://code.elgg.org/elgg/trunk@3047 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/icondirect.php')
-rw-r--r--mod/profile/icondirect.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/profile/icondirect.php b/mod/profile/icondirect.php
index cf67fae04..1bfa51fee 100644
--- a/mod/profile/icondirect.php
+++ b/mod/profile/icondirect.php
@@ -91,7 +91,9 @@
header("Pragma: public");
header("Cache-Control: public");
header("Content-Length: " . strlen($contents));
- echo $contents;
+ $splitString = str_split($contents, 8192);
+ foreach($splitString as $chunk)
+ echo $chunk;
}
} else {
mysql_close($mysql_dblink);