获得指定文件的MIME类型

FileHelper::getMimeType('/path/to/img.jpeg');