#60019Create utility function to get the file mimetype depending on available php modules
Description
TYPO3 does currently use finfo_file to get the mime type of a file. This does only work if the finfo module is loaded in PHP.
dkd is currently working with Microsoft to get TYPO3 working in the Microsoft Azure Web Gallery and there is no finfo module installed by default.
To get this code a little bit more portable there should be a wrapper function that checks if the finfo exsists and if not use mime_content_type.