MCFileManager:Configuration/stream.mimefile

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

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.

Example of usage in the config.php file

$mcFileManagerConfig['stream.mimefile'] = "somefile.types";

Example of configuration in Web.config

<add key="stream.mimefile" value="somefile.types" />

Example of usage in a mc_access file

stream.mimefile=someotherfile.types

Example snippet of mime.types file

application/msword              doc dot
application/pdf                 pdf
application/pgp-signature       pgp
application/postscript          ps ai eps 
Personal tools