mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-22 11:52:14 +09:00
첨부파일 제어 부분 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2578 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
87e70faed6
commit
e1e826156b
2 changed files with 2 additions and 2 deletions
|
|
@ -90,6 +90,8 @@
|
|||
|
||||
// SWFUploader에 세팅할 업로드 설정 구함
|
||||
$file_config = $oFileModel->getUploadConfig();
|
||||
$file_config->attached_size = FileHandler::filesize($file_config->allowed_attach_size*1024*1024);
|
||||
$file_config->allowed_filesize = FileHandler::filesize($file_config->allowed_filesize*1024*1024);
|
||||
Context::set('file_config',$file_config);
|
||||
|
||||
// 업로드 가능 용량등에 대한 정보를 세팅
|
||||
|
|
|
|||
|
|
@ -93,8 +93,6 @@
|
|||
$file_config->allowed_filetypes = '*.*';
|
||||
} else {
|
||||
$file_config = $this->getFileConfig();
|
||||
$file_config->allowed_filesize .= 'M';
|
||||
$file_config->allowed_attach_size.= 'M';
|
||||
}
|
||||
return $file_config;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue