mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 02:42:23 +09:00
Eliminate php.ini restrictions on all file sizes
This commit is contained in:
parent
e2895912e5
commit
193fab949d
3 changed files with 9 additions and 4 deletions
|
|
@ -134,6 +134,7 @@ class fileAdminController extends file
|
|||
else $file_config->download_grant = $download_grant;
|
||||
|
||||
//관리자가 허용한 첨부파일의 사이즈가 php.ini의 값보다 큰지 확인하기 - by ovclas
|
||||
/*
|
||||
$userFileAllowSize = FileHandler::returnbytes($file_config->allowed_filesize.'M');
|
||||
$userAttachAllowSize = FileHandler::returnbytes($file_config->allowed_attach_size.'M');
|
||||
$iniPostMaxSize = FileHandler::returnbytes(ini_get('post_max_size'));
|
||||
|
|
@ -142,7 +143,8 @@ class fileAdminController extends file
|
|||
|
||||
if($userFileAllowSize > $iniMinSzie || $userAttachAllowSize > $iniMinSzie)
|
||||
return new Object(-1, 'input size over than config in php.ini');
|
||||
|
||||
*/
|
||||
|
||||
$oModuleController = getController('module');
|
||||
for($i=0;$i<count($module_srl);$i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue