aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;