diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-05-05 20:29:43 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-05-05 20:29:43 +0200 |
commit | 14031d152b76e7744d6f8a70964ecae77ca55179 (patch) | |
tree | 2738a95460ee4efd5a70e5853f419e6a10d4539f /system/libraries/Upload.php | |
parent | 5f6b5442e5a3d7fa5cf6c047ed716b82946629a2 (diff) |
implemented fopen mode constants
Diffstat (limited to 'system/libraries/Upload.php')
-rw-r--r-- | system/libraries/Upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index f13907000..853c162bd 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -741,7 +741,7 @@ class CI_Upload { return FALSE;
}
- if (! $fp = @fopen($file, 'r+b'))
+ if (! $fp = @fopen($file, FOPEN_READ_WRITE_BOF))
{
return FALSE;
}
|