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 |
Please login to continue.