aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-01 07:09:05 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-01 07:09:05 +0000
commit6dd3a2c2948698c1fbeb9711422d5b70479a8847 (patch)
treed8c900ae6f5d9c57536e77b55776f377cbf69c84 /engine
parent4da38adfe9df374d22d579355ce208dfa188c82c (diff)
downloadelgg-6dd3a2c2948698c1fbeb9711422d5b70479a8847.tar.gz
elgg-6dd3a2c2948698c1fbeb9711422d5b70479a8847.tar.bz2
Fixes #1314: Filestore opens read-only with rb instead of r+b.
git-svn-id: http://code.elgg.org/elgg/trunk@3886 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-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";