php7.2호환을 위해 변경한 클래스 Object 를 BaseObject으로 변경

This commit is contained in:
BJRambo 2017-11-28 20:01:28 +09:00
parent f4c19a3e0f
commit f3f40f6859
109 changed files with 976 additions and 976 deletions

View file

@ -20,7 +20,7 @@ class installAdminController extends install
function procInstallAdminInstall()
{
$module_name = Context::get('module_name');
if(!$module_name) return new object(-1, 'invalid_request');
if(!$module_name) return new BaseObject(-1, 'invalid_request');
$oInstallController = getController('install');
$oInstallController->installModule($module_name, './modules/'.$module_name);
@ -35,7 +35,7 @@ class installAdminController extends install
{
@set_time_limit(0);
$module_name = Context::get('module_name');
if(!$module_name) return new object(-1, 'invalid_request');
if(!$module_name) return new BaseObject(-1, 'invalid_request');
$oModule = getModule($module_name, 'class');
if($oModule) $output = $oModule->moduleUpdate();