summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2007-06-11 06:44:11 +0200
committerRick Ellis <rick.ellis@ellislab.com>2007-06-11 06:44:11 +0200
commit63966df193cb275d957ffc64398f6fe941c00e31 (patch)
tree572d246021d10988fd2aa893c43342267bdb78d2
parent8de97ffd0629a4fe1f7dfe97276935793591a179 (diff)
-rw-r--r--system/libraries/Upload.php4
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;
}