MCFileManager:Configuration/upload.extensions

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: upload.extensions

This option should contain a comma separated list of valid extensions all other file extensions will be denied. By default some file extensions are allowed.

Example of usage in the config.php file

$mcFileManagerConfig['upload.extensions'] = "gif,jpg,png,bmp"; 

Example of usage in the Web.Config file

<add key="upload.extensions" value="gif,jpg,png,bmp" />

Example of usage in a mc_access file

upload.extensions="gif,jpg,png,pdf,bmp"
Personal tools