MCFileManager:Configuration/download.extensions

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: download.extensions

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

Example of usage in the config.php file

$mcFileManagerConfig['download.extensions'] = "gif,jpg,png,pdf,htm,html";

Example of usage in the Web.Config file

<add key="download.extensions" value="gif,jpg,png,pdf,htm,html" /> 

Example of usage in a mc_access file

download.extensions=gif,jpg,png,pdf,htm,html
Personal tools