aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/filestore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/filestore.php b/engine/lib/filestore.php
index f0b3baa4c..f5aece941 100644
--- a/engine/lib/filestore.php
+++ b/engine/lib/filestore.php
@@ -183,7 +183,7 @@ class ElggDiskFilestore extends ElggFilestore {
switch ($mode) {
case "read" :
- $mode = "r+b";
+ $mode = "rb";
break;
case "write" :
$mode = "w+b";