summaryrefslogtreecommitdiffstats
path: root/system/libraries/Upload.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-05-05 22:07:09 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-05-05 22:07:09 +0200
commit3be20e26b7d3c0f60bc60b314a85138100edab52 (patch)
treebd134700b39e5331a190d47684ddf29c11cd951e /system/libraries/Upload.php
parent14031d152b76e7744d6f8a70964ecae77ca55179 (diff)
tweak to the new fopen mode constant names
Diffstat (limited to 'system/libraries/Upload.php')
-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 853c162bd..0fc38dc4f 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -741,7 +741,7 @@ class CI_Upload {
return FALSE;
}
- if (! $fp = @fopen($file, FOPEN_READ_WRITE_BOF))
+ if (! $fp = @fopen($file, FOPEN_READ_WRITE))
{
return FALSE;
}