mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
코드 개선2
This commit is contained in:
parent
52f317a429
commit
6454145397
1 changed files with 2 additions and 4 deletions
|
|
@ -29,7 +29,8 @@ class autoinstallAdminView extends autoinstall
|
|||
{
|
||||
$oAdminModel = getAdminModel('autoinstall');
|
||||
$config = $oAdminModel->getAutoInstallAdminModuleConfig();
|
||||
|
||||
Context::set('config', $config);
|
||||
|
||||
$template_path = sprintf("%stpl/", $this->module_path);
|
||||
Context::set('original_site', $config->location_site);
|
||||
Context::set('uri', $config->download_server);
|
||||
|
|
@ -617,9 +618,6 @@ class autoinstallAdminView extends autoinstall
|
|||
*/
|
||||
function dispAutoinstallAdminConfig()
|
||||
{
|
||||
$oAdminModel = getAdminModel('autoinstall');
|
||||
$config = $oAdminModel->getAutoInstallAdminModuleConfig();
|
||||
Context::set('config', $config);
|
||||
$this->setTemplateFile('config');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue