MCImageManager:Configuration/filesystem.include file pattern

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: filesystem.include_file_pattern

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

Example of usage in the config.php file

$mcImageManagerConfig['filesystem.include_file_pattern'] = "/^onlythis$|^onlythat$/i";

Example of usage in the Web.Config file

<add key="filesystem.include_file_pattern" value="/^onlythis$|^onlythat$/i" />

Example of usage in a mc_access file

filesystem.include_file_pattern=/^onlythis$|^onlythat$/i
Personal tools