mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-01 17:42:11 +09:00
Fix pre-conversion file size limit applying to admins
This commit is contained in:
parent
81b32378ca
commit
01d65dee7f
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
data-editor-status="{json_encode(FileModel::getInstance()->getFileList($editor_sequence), JSON_UNESCAPED_UNICODE)}"
|
||||
data-max-file-size="{$this->user->isAdmin() ? 0 : $file_config->allowed_filesize}"
|
||||
data-max-chunk-size="{$file_config->allowed_chunk_size ?: 0}"
|
||||
data-pre-conversion-size="{intval($file_config->pre_conversion_filesize ?? 0)}"
|
||||
data-pre-conversion-size="{$this->user->isAdmin() ? 0 : intval($file_config->pre_conversion_filesize ?? 0)}"
|
||||
data-pre-conversion-types="{implode(',', $file_config->pre_conversion_types ?? [])}"
|
||||
data-autoinsert-types="{json_encode($editor_autoinsert_types)}"
|
||||
data-autoinsert-position="{$editor_autoinsert_position ?: 'paragraph'}">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue