commit | e6b4a80ed09aa9d171db6abf2af2bca3cbac4945 | [log] [tgz] |
---|---|---|
author | Rick Ellis <rick.ellis@ellislab.com> | Mon Jun 11 04:20:44 2007 +0000 |
committer | Rick Ellis <rick.ellis@ellislab.com> | Mon Jun 11 04:20:44 2007 +0000 |
tree | c16fe67d35826fe620b707f524c0906a222e8d9c | |
parent | f660315a3cea96279a755ece825aabb9dcfd5a1d [diff] |
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 564e299..4cea9cd 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php
@@ -709,7 +709,7 @@ return FALSE; } - if ( ! $fp = @fopen($file, 'rb')) + if ( ! $fp = @fopen($file, 'r+b')) { return FALSE; }