minor fix

This commit is contained in:
fbsanchez 2016-07-04 10:50:26 +02:00
parent b954f78542
commit 2cc6d2e3f9
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ if (!function_exists ('mime_content_type')) {
);
$ext_fields = explode ('.', $filename);
$ext = array_pop ();
$ext = array_pop ($ext_fields);
$ext = strtolower ($ext);
if (array_key_exists ($ext, $mime_types)) {
return $mime_types[$ext];