summaryrefslogtreecommitdiffstats
path: root/system/libraries/Upload.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-07-26 16:46:51 +0200
committerAndrey Andreev <narf@devilix.net>2017-07-26 16:46:51 +0200
commitde3ac40bf40d21a994d170788792557e4e431f37 (patch)
tree928e29d3eaafec5b61f68056fba2d04b212c1340 /system/libraries/Upload.php
parent2f473195dcf6ed83fb31f90dce5b226f3e486ff0 (diff)
[ci skip] Close #5206
Diffstat (limited to 'system/libraries/Upload.php')
-rw-r--r--system/libraries/Upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index b37cc2f59..0ad8dd375 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -1312,7 +1312,7 @@ class CI_Upload {
}
}
- // Fall back to the deprecated mime_content_type(), if available (still better than $_FILES[$field]['type'])
+ // Fall back to mime_content_type(), if available (still better than $_FILES[$field]['type'])
if (function_exists('mime_content_type'))
{
$this->file_type = @mime_content_type($file['tmp_name']);