Fixed: File upload (mib upload)i

> safe_output on field and php warning
This commit is contained in:
fbsanchez 2016-07-04 10:48:18 +02:00
parent 8b99e9757a
commit 744c07237f
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];