버그 픽스

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

@ -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();