I uploaded a website to a server that looks pretty much the same as my local server, but it looks like that, for some reason, that host hasn’t FILEINFO_MIME_TYPE defined.
Is there something I could do (without changing php.ini)?
Thanks in advance
EDIT : PHP 5.3.2 on the server
FILEINFO_MIME_TYPEis only available on php 5.3+. Update to a 5.3 release to fix this problem.Consider falling back to
FILEINFO_MIME(and just using everything before a;if one is present) or the legacymime_get_content_typeif this constant is not available.