From e6b4a80ed09aa9d171db6abf2af2bca3cbac4945 Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Mon, 11 Jun 2007 04:20:44 +0000 Subject: --- system/libraries/Upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') 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; } -- cgit v1.2.3-24-g4f1b