Allow pre-setting upload_target_type for each editor

This commit is contained in:
Kijin Sung 2023-11-19 21:29:15 +09:00
parent fdc9e1e98d
commit 9a6524d63d
6 changed files with 27 additions and 6 deletions

View file

@ -440,6 +440,7 @@ class MemberAdminView extends Member
if ($option->allow_fileupload)
{
$option->module_srl = MemberView::getInstance()->getMemberModuleSrl();
$option->upload_target_type = 'sig';
}
if ($member_config->member_max_filesize)
{

View file

@ -358,6 +358,7 @@ class MemberView extends Member
if ($option->allow_fileupload)
{
$option->module_srl = $this->getMemberModuleSrl();
$option->upload_target_type = 'sig';
}
if ($member_config->member_max_filesize)
{
@ -480,6 +481,7 @@ class MemberView extends Member
if ($option->allow_fileupload)
{
$option->module_srl = $this->getMemberModuleSrl();
$option->upload_target_type = 'sig';
}
if ($member_config->member_max_filesize)
{