MCFileManager:Configuration/createdir.include directory pattern

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: createdir.include_directory_pattern

This option can be used to exclude all directory names but those matching the specified regexp pattern.

Example of usage in the config.php file

$mcFileManagerConfig['createdir.include_directory_pattern'] = "/^onlythis$|^onlythat$/i";

Example of usage in the Web.Config file

<add key="createdir.include_directory_pattern" value="/^onlythis$|^onlythat$/i" />

Example of usage in a mc_access file

createdir.include_directory_pattern=/^onlythis$|^onlythat$/i
Personal tools