mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 16:19:58 +09:00
관리자 계정인데도 문서첨부제한이 적용되는 오류 수정
This commit is contained in:
parent
71f8e45cc7
commit
df20b02cbc
1 changed files with 3 additions and 1 deletions
|
|
@ -238,7 +238,9 @@ class fileModel extends file
|
||||||
|
|
||||||
if($logged_info->is_admin == 'Y')
|
if($logged_info->is_admin == 'Y')
|
||||||
{
|
{
|
||||||
$file_config->allowed_filesize = preg_replace("/[a-z]/is","",ini_get('upload_max_filesize'));
|
$size = preg_replace('/[a-z]/is', '', ini_get('upload_max_filesize'));
|
||||||
|
$file_config->allowed_attach_size = $size;
|
||||||
|
$file_config->allowed_filesize = $size;
|
||||||
$file_config->allowed_filetypes = '*.*';
|
$file_config->allowed_filetypes = '*.*';
|
||||||
}
|
}
|
||||||
return $file_config;
|
return $file_config;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue