MCFileManager:Configuration/download.exclude file pattern
From Moxiecode Documentation Wiki
Contents |
[edit]
Option: download.exclude_file_pattern
This option can be used to exclude all file names matching the specified regexp pattern. This enables you to for example deny specific file extensions from being downloaded.
[edit]
Example of usage in the config.php file
$mcFileManagerConfig['download.exclude_file_pattern'] = "/^notthis$|^notthat$/i";
[edit]
Example of usage in the Web.Config file
<add key="download.exclude_file_pattern" value="/^notthis$|^notthat$/i />
[edit]
Example of usage in a mc_access file
download.exclude_file_pattern=/^notthis$|^notthat$/i
