Hello,

in one project I can't use IMCE properly, because mime_content_type is not running. Because this function is missing IMCE assigns all downloaded files the MIME Type application/x-download.

As this function (mime_content_type) is signed as deprecated, I would prefer to use another one, instead to try to get mime_content_type to work.

Has anybody already done this (f.e. by using finfo_file)?

Regards

Adriana

Comments

ufku’s picture

take a look at the file_download hook in IMCE 6.x

ufku’s picture

Status: Active » Closed (fixed)