#381 php 5.4 호환성문제 수정

This commit is contained in:
khongchi 2014-01-29 01:08:49 +09:00
parent f84ecb39ce
commit 7813cb00a3
6 changed files with 9 additions and 2 deletions

View file

@ -92,6 +92,7 @@ class fileAdminController extends file
function procFileAdminInsertConfig()
{
// Get configurations (using module model object)
$config = new stdClass();
$config->allowed_filesize = Context::get('allowed_filesize');
$config->allowed_attach_size = Context::get('allowed_attach_size');
$config->allowed_filetypes = str_replace(' ', '', Context::get('allowed_filetypes'));