버그 픽스

This commit is contained in:
hanssem@forppl.com 2020-08-10 01:21:28 +09:00
parent 3b8b79acf1
commit 2ff0cea9c3
4 changed files with 20 additions and 20 deletions

View file

@ -104,8 +104,8 @@ class adminAdminView extends admin
return;
}
$oModel = getAdminModel('autoinstall');
$config = $oModel->getAutoInstallAdminModuleConfig();
$oAdminModel = getAdminModel('autoinstall');
$config = $oAdminModel->getAutoInstallAdminModuleConfig();
$oAutoinstallModel = getModel('autoinstall');
$params = array();

View file

@ -75,8 +75,8 @@ class autoinstallAdminController extends autoinstall
'ssl_verify_host' => FALSE
);
$oModel = getAdminModel('autoinstall');
$config = $oModel->getAutoInstallAdminModuleConfig();
$oAdminModel = getAdminModel('autoinstall');
$config = $oAdminModel->getAutoInstallAdminModuleConfig();
$buff = FileHandler::getRemoteResource($config->download_server, $body, 3, "POST", "application/xml", array(), array(), array(), $request_config);
$xml = new XmlParser();
@ -227,8 +227,8 @@ class autoinstallAdminController extends autoinstall
$oModuleInstaller = new FTPModuleInstaller($package);
}
$oModel = getAdminModel('autoinstall');
$config = $oModel->getAutoInstallAdminModuleConfig();
$oAdminModel = getAdminModel('autoinstall');
$config = $oAdminModel->getAutoInstallAdminModuleConfig();
$oModuleInstaller->setServerUrl($config->download_server);
$oModuleInstaller->setPassword($ftp_password);
@ -403,8 +403,8 @@ class autoinstallAdminController extends autoinstall
$oModuleInstaller = new FTPModuleInstaller($package);
}
$oModel = getAdminModel('autoinstall');
$config = $oModel->getAutoInstallAdminModuleConfig();
$oAdminModel = getAdminModel('autoinstall');
$config = $oAdminModel->getAutoInstallAdminModuleConfig();
$oModuleInstaller->setServerUrl($config->download_server);

View file

@ -27,8 +27,8 @@ class autoinstallAdminView extends autoinstall
*/
function init()
{
$oModel = getAdminModel('autoinstall');
$config = $oModel->getAutoInstallAdminModuleConfig();
$oAdminModel = getAdminModel('autoinstall');
$config = $oAdminModel->getAutoInstallAdminModuleConfig();
$template_path = sprintf("%stpl/", $this->module_path);
Context::set('original_site', $config->location_site);
@ -195,8 +195,8 @@ class autoinstallAdminView extends autoinstall
$depto = array();
$oModel = getAdminModel('autoinstall');
$config = $oModel->getAutoInstallAdminModuleConfig();
$oAdminModel = getAdminModel('autoinstall');
$config = $oAdminModel->getAutoInstallAdminModuleConfig();
foreach($items as $item)
{
@ -331,8 +331,8 @@ class autoinstallAdminView extends autoinstall
'ssl_verify_host' => FALSE
);
$oModel = getAdminModel('autoinstall');
$config = $oModel->getAutoInstallAdminModuleConfig();
$oAdminModel = getAdminModel('autoinstall');
$config = $oAdminModel->getAutoInstallAdminModuleConfig();
$buff = FileHandler::getRemoteResource($config->download_server, $body, 3, "POST", "application/xml", array(), array(), array(), $request_config);
$xml_lUpdate = new XmlParser();
@ -428,8 +428,8 @@ class autoinstallAdminView extends autoinstall
'ssl_verify_host' => FALSE
);
$oModel = getAdminModel('autoinstall');
$config = $oModel->getAutoInstallAdminModuleConfig();
$oAdminModel = getAdminModel('autoinstall');
$config = $oAdminModel->getAutoInstallAdminModuleConfig();
$buff = FileHandler::getRemoteResource($config->download_server, $body, 3, "POST", "application/xml", array(), array(), array(), $request_config);
$xml_lUpdate = new XmlParser();
@ -583,8 +583,8 @@ class autoinstallAdminView extends autoinstall
'ssl_verify_host' => FALSE
);
$oModel = getAdminModel('autoinstall');
$config = $oModel->getAutoInstallAdminModuleConfig();
$oAdminModel = getAdminModel('autoinstall');
$config = $oAdminModel->getAutoInstallAdminModuleConfig();
$buff = FileHandler::getRemoteResource($config->download_server, $body, 3, "POST", "application/xml", array(), array(), array(), $request_config);
$xml_lUpdate = new XmlParser();

View file

@ -346,8 +346,8 @@ class menuAdminModel extends menu
$module->defaultMobileSkin->skin = $defaultMobileSkin;
$module->defaultMobileSkin->title = $mobileSkinInfo->title ? $mobileSkinInfo->title : $defaultMobileSkin;
$oModel = getAdminModel('autoinstall');
$config = $oModel->getAutoInstallAdminModuleConfig();
$oAdminModel = getAdminModel('autoinstall');
$config = $oAdminModel->getAutoInstallAdminModuleConfig();
$module->package_srl = $oAutoinstallModel->getPackageSrlByPath('./modules/' . $module_name);
$module->url = $config->location_site . '?mid=download&package_srl=' . $module->package_srl;