MCFileManager:Configuration/preview.include file pattern

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: preview.include_file_pattern

(Requires: 3.0.2)

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

$mcFileManagerConfig['preview.include_file_pattern'] = "/^onlythis$|^onlythat$/i";

Example of usage in the Web.Config file

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

Example of usage in a mc_access file

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