git-svn-id: http://xe-core.googlecode.com/svn/trunk@1133 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-13 12:03:41 +00:00
parent 6e8eabb9f6
commit a0074e8311
13 changed files with 99 additions and 4 deletions

View file

@ -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 파일 정보를 구함
**/