MCFileManager:Configuration/general.allow override

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: general.allow_override

This option should contain a comma separated list of options you can override. These options can then be changed specifically in various directories by adding them to a mc_access file. The default value of this option is "*" which tells MCFileManager to allow override of all options.

Example of usage in the config.php file

$mcFileManagerConfig['general.allow_override'] = "toolbar,disabled_tools"; 

Example of usage in the Web.Config file

<add key="general.allow_override" value="toolbar,disabled_tools" />

Example of usage in a mc_access file

# Override something (Disabled the refresh button)
general.disabled_tools=refresh

# Allow override
general.allow_override=toolbar,disabled_tools
Personal tools