mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 20:59:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1133 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6e8eabb9f6
commit
a0074e8311
13 changed files with 99 additions and 4 deletions
|
|
@ -29,6 +29,19 @@
|
|||
return "./?module=file&act=procFileDownload&file_srl=".$file_srl."&sid=".$sid;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 파일 설정 정보를 구함
|
||||
**/
|
||||
function getFileConfig() {
|
||||
// 설정 정보를 받아옴 (module model 객체를 이용)
|
||||
$oModuleModel = &getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('file');
|
||||
|
||||
if(!$config->allowed_filesize) $config->allowed_filesize = '2';
|
||||
if(!$config->allowed_filetypes) $config->allowed_filetypes = '*.*';
|
||||
return $config;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 파일 정보를 구함
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue