mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
관리자 체크를 함수로 하는 오류 고침
This commit is contained in:
parent
e3da3ba794
commit
9cfd4ca363
1 changed files with 1 additions and 1 deletions
|
|
@ -403,7 +403,7 @@ class fileModel extends file
|
|||
function getUploadConfig()
|
||||
{
|
||||
$config = $this->getFileConfig(Context::get('module_srl') ?: Context::get('current_module_info')->module_srl);
|
||||
if($this->user->isAdmin())
|
||||
if($this->user->is_admin === 'Y')
|
||||
{
|
||||
$module_config = getModel('module')->getModuleConfig('file');
|
||||
$config->allowed_filesize = max($config->allowed_filesize, $module_config->allowed_filesize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue