diff options
author | Derek Allard <derek.allard@ellislab.com> | 2010-01-17 08:51:21 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2010-01-17 08:51:21 +0100 |
commit | 9502311beeda23042370bb891f850eab3aadad96 (patch) | |
tree | 13d5a4d76d21ad18baa7b414bd0b4c7ede974b18 | |
parent | f063ed7a0d51fd2abd5dd716ab7f92a54e45cd11 (diff) |
change already made - revert
-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 9ea5018ae..2be06ac4f 100644 --- a/system/helpers/file_helper.php +++ b/system/helpers/file_helper.php @@ -346,7 +346,7 @@ if ( ! function_exists('get_mime_by_extension')) { function get_mime_by_extension($file) { - $extension = strtolower(substr(strrchr(strtolower($file), '.'), 1)); + $extension = strtolower(substr(strrchr($file, '.'), 1)); global $mimes; |