Fix #1299, Fix #1346 implement proper file size limit for messages

This commit is contained in:
Kijin Sung 2023-11-06 08:26:01 +09:00
parent a647fff6b8
commit 7a659737cc
5 changed files with 11 additions and 1 deletions

View file

@ -280,6 +280,7 @@ class CommunicationView extends communication
$option->primary_key_name = 'temp_srl';
$option->content_key_name = 'content';
$option->allow_fileupload = $this->config->enable_attachment === 'Y';
$option->allowed_filesize = $this->config->attachment_size_limit ?? 0;
$option->enable_autosave = FALSE;
$option->enable_default_component = TRUE; // FALSE;
$option->enable_component = FALSE;