|
|
|
@ -390,10 +390,11 @@ SH;
|
|
|
|
|
|
|
|
|
|
private function activateSystemModules() : void |
|
|
|
|
{ |
|
|
|
|
Console::log($this->l('Activating modules: '), 'white'); |
|
|
|
|
Console::log($this->l('Activating system modules: '), 'white'); |
|
|
|
|
shell_exec('php ' . __DIR__ . '/yii module/init'); |
|
|
|
|
foreach ($this->_systemModules as $name) { |
|
|
|
|
shell_exec('php ' . __DIR__ . '/yii module/activate "' . $name . '"'); |
|
|
|
|
shell_exec('php ' . __DIR__ . '/yii module/set-system "' . $name . '"'); |
|
|
|
|
} |
|
|
|
|
echo Console::log($this->l('Complete'), 'green') . PHP_EOL; |
|
|
|
|
} |
|
|
|
|