mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 09:14:48 +09:00
Use raw bytes, not MB, when setting allowed filesize in session
This commit is contained in:
parent
7a659737cc
commit
426027509c
5 changed files with 10 additions and 10 deletions
|
|
@ -280,7 +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->allowed_filesize = ($this->config->attachment_size_limit ?? 0) * 1024;
|
||||
$option->enable_autosave = FALSE;
|
||||
$option->enable_default_component = TRUE; // FALSE;
|
||||
$option->enable_component = FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue