Add option to apply default file settings to module

This commit is contained in:
Kijin Sung 2019-08-01 20:49:34 +09:00
parent 9d08cac27b
commit 6d2a91134c
9 changed files with 58 additions and 14 deletions

View file

@ -187,6 +187,7 @@ class fileModel extends file
if($file_config)
{
$config->use_default_file_config = $file_config->use_default_file_config;
$config->allowed_filesize = $file_config->allowed_filesize;
$config->allowed_attach_size = $file_config->allowed_attach_size;
$config->allowed_filetypes = $file_config->allowed_filetypes;