commit | 63966df193cb275d957ffc64398f6fe941c00e31 | [log] [tgz] |
---|---|---|
author | Rick Ellis <rick.ellis@ellislab.com> | Mon Jun 11 04:44:11 2007 +0000 |
committer | Rick Ellis <rick.ellis@ellislab.com> | Mon Jun 11 04:44:11 2007 +0000 |
tree | 572d246021d10988fd2aa893c43342267bdb78d2 | |
parent | 8de97ffd0629a4fe1f7dfe97276935793591a179 [diff] [blame] |
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index d8a8f69..dc3fd4a 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php
@@ -708,8 +708,8 @@ { return FALSE; } - - if ( ! $data = file_get_contents($file)) + + if (($data = @file_get_contents($file)) !== FALSE) { return FALSE; }