MCFileManager:Configuration/stream.mimefile
From Moxiecode Documentation Wiki
Contents |
[edit]
Option: stream.mimefile
This option should contain the file path to the MIME types file to use, this file is used to resolve extensions into mime types.
[edit]
Example of usage in the config.php file
$mcFileManagerConfig['stream.mimefile'] = "somefile.types";
[edit]
Example of configuration in Web.config
<add key="stream.mimefile" value="somefile.types" />
[edit]
Example of usage in a mc_access file
stream.mimefile=someotherfile.types
[edit]
Example snippet of mime.types file
application/msword doc dot application/pdf pdf application/pgp-signature pgp application/postscript ps ai eps
