diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/helpers/file_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php index 0d7b5d5aa..cb3d60ee9 100644 --- a/system/helpers/file_helper.php +++ b/system/helpers/file_helper.php @@ -340,7 +340,7 @@ if ( ! function_exists('get_mime_by_extension')) { function get_mime_by_extension($file) { - $extension = substr(strrchr($file, '.'), 1); + $extension = strtolower(substr(strrchr($file, '.'), 1)); global $mimes; |