summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2007-06-11 06:20:44 +0200
committerRick Ellis <rick.ellis@ellislab.com>2007-06-11 06:20:44 +0200
commite6b4a80ed09aa9d171db6abf2af2bca3cbac4945 (patch)
treec16fe67d35826fe620b707f524c0906a222e8d9c /system
parentf660315a3cea96279a755ece825aabb9dcfd5a1d (diff)
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 564e29937..4cea9cd71 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -709,7 +709,7 @@ class CI_Upload {
return FALSE;
}
- if ( ! $fp = @fopen($file, 'rb'))
+ if ( ! $fp = @fopen($file, 'r+b'))
{
return FALSE;
}