mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 05:42:13 +09:00
설치시 존재하지 않는 모듈 카테고리가 있으면 에러가 발생하던 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4992 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e61fbd3a9f
commit
834c9274b8
1 changed files with 6 additions and 4 deletions
|
|
@ -217,11 +217,13 @@
|
|||
$install_step = array('base','utility','manager','accessory','service','package');
|
||||
|
||||
foreach($install_step as $category) {
|
||||
foreach($modules[$category] as $module) {
|
||||
$this->installModule($module, sprintf('./modules/%s', $module));
|
||||
if(count($modules[$category])) {
|
||||
foreach($modules[$category] as $module) {
|
||||
$this->installModule($module, sprintf('./modules/%s', $module));
|
||||
|
||||
$oModule = &getClass($module);
|
||||
if($oModule->checkUpdate()) $oModule->moduleUpdate();
|
||||
$oModule = &getClass($module);
|
||||
if($oModule->checkUpdate()) $oModule->moduleUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue