From 63966df193cb275d957ffc64398f6fe941c00e31 Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Mon, 11 Jun 2007 04:44:11 +0000 Subject: --- system/libraries/Upload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/libraries/Upload.php') 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; } -- cgit v1.2.3-24-g4f1b