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
2016-10-30 17:04:45
Comments
Leave a Comment

Please login to continue.