return default mimetype for unknown extensions
This commit is contained in:
committed by
Hypolite Petovan
parent
14622c4bfd
commit
c3c0332536
@@ -1077,8 +1077,7 @@ class Mimetype
|
||||
if (array_key_exists($ext, $mime_types)) {
|
||||
return $mime_types[$ext];
|
||||
}
|
||||
} else {
|
||||
}
|
||||
return 'application/octet-stream';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user