mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 11:19:56 +09:00
php설정에 따른 최고 업로드 용량 표시하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1928 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2e585445b1
commit
a9e390ac0a
2 changed files with 5 additions and 2 deletions
|
|
@ -240,8 +240,10 @@
|
|||
|
||||
$logged_info = Context::get('logged_info');
|
||||
if($logged_info->is_admin == 'Y') {
|
||||
$file_config->allowed_filesize = 1024;
|
||||
$file_config->allowed_attach_size = 1024;
|
||||
//$file_config->allowed_filesize = 1024;
|
||||
//$file_config->allowed_attach_size = 1024;
|
||||
$file_config->allowed_filesize = ini_get('upload_max_filesize');
|
||||
$file_config->allowed_attach_size = ini_get('upload_max_filesize');
|
||||
$file_config->allowed_filetypes = '*.*';
|
||||
} else {
|
||||
$file_config = $oFileModel->getFileConfig();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue