MCFileManager:Configuration/filesystem.extensions

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: filesystem.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 accepted. An asterix '*' can be used to include all extensions.

Example of usage in the config.php file

$mcFileManagerConfig['filesystem.extensions'] = "htm,aspx,gif,jpg,png"; 

Example of usage in the Web.Config file

<add key="filesystem.extensions" value="htm,aspx,gif,jpg,png" />

Example of usage in a mc_access file

filesystem.extensions=htm,aspx,gif,jpg,png
Personal tools