helpers\BaseFileHelper loadMimeTypes()

loadMimeTypes() protected static method

Loads MIME types from the specified file.

protected static array loadMimeTypes ( $magicFile )
$magicFile string

The path (or alias) of the file that contains all available MIME type information. If this is not set, the file specified by $mimeMagicFile will be used.

return array

The mapping from file extensions to MIME types

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.