git-svn-id: http://xe-core.googlecode.com/svn/trunk@4994 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2008-11-26 06:44:18 +00:00
commit 80feff9747

View file

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