summaryrefslogtreecommitdiffstats
path: root/system/libraries/Upload.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-04 14:34:56 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-04 14:34:56 +0200
commit5036c9caabb12f90b9533d7fb417610e02a652ff (patch)
treeff5fd9f6a0932e4d537482fd3ec5a3652188a950 /system/libraries/Upload.php
parente4c30195c5f6dc7a144cfe4ee160b18626626612 (diff)
Diffstat (limited to 'system/libraries/Upload.php')
-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 e4cc54b21..bd97a611b 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -809,12 +809,12 @@ class CI_Upload {
{
$file = $this->file_temp;
- if (filesize($file) === 0)
+ if (filesize($file) == 0)
{
return FALSE;
}
- if (function_exists('memory_get_usage') && memory_get_usage() && ini_get('memory_limit') !== '')
+ if (function_exists('memory_get_usage') && memory_get_usage() && ini_get('memory_limit'))
{
$current = ini_get('memory_limit') * 1024 * 1024;