diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2007-06-11 06:44:11 +0200 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2007-06-11 06:44:11 +0200 |
commit | 63966df193cb275d957ffc64398f6fe941c00e31 (patch) | |
tree | 572d246021d10988fd2aa893c43342267bdb78d2 /system/libraries | |
parent | 8de97ffd0629a4fe1f7dfe97276935793591a179 (diff) |
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Upload.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index d8a8f69a7..dc3fd4a12 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -708,8 +708,8 @@ class CI_Upload { {
return FALSE;
}
-
- if ( ! $data = file_get_contents($file))
+
+ if (($data = @file_get_contents($file)) !== FALSE)
{
return FALSE;
}
|