|
|
|
@ -85,7 +85,7 @@ class ModuleController extends Controller
|
|
|
|
|
// add module record with active flag |
|
|
|
|
$db_module = ModuleRecord::find()->andWhere(['name' => $name])->one(); |
|
|
|
|
if (!$db_module) { |
|
|
|
|
$this->_service->create($name, 'common\\modules\\' . $name . '\\' . $manifest['vjlule'], 'common', 1); |
|
|
|
|
$this->_service->create($name, 'common\\modules\\' . $name . '\\' . $manifest['module'], 'common', 1); |
|
|
|
|
} |
|
|
|
|
// init permissions |
|
|
|
|
echo ConsoleColor::log('Database: ', 'normal'); |
|
|
|
|