mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 18:02:15 +09:00
Improve documentation and error messages
This commit is contained in:
parent
d69007e200
commit
7bf5d78206
6 changed files with 23 additions and 8 deletions
|
|
@ -144,6 +144,13 @@ class fileAdminController extends file
|
|||
if($userFileAllowSize > $iniMinSzie || $userAttachAllowSize > $iniMinSzie)
|
||||
return new Object(-1, 'input size over than config in php.ini');
|
||||
*/
|
||||
if (PHP_INT_SIZE < 8)
|
||||
{
|
||||
if ($file_config->allowed_filesize > 2047 || $file_config->allowed_attach_size > 2047)
|
||||
{
|
||||
return new Object(-1, 'msg_32bit_max_2047mb');
|
||||
}
|
||||
}
|
||||
|
||||
$oModuleController = getController('module');
|
||||
for($i=0;$i<count($module_srl);$i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue