|
|
@ -88,7 +88,7 @@ class ModuleController extends Controller |
|
|
|
$this->_service->create($name, 'common\\modules\\' . $name . '\\' . $manifest['module'], 'common', 1); |
|
|
|
$this->_service->create($name, 'common\\modules\\' . $name . '\\' . $manifest['module'], 'common', 1); |
|
|
|
} |
|
|
|
} |
|
|
|
// init permissions |
|
|
|
// init permissions |
|
|
|
echo ConsoleColor::log('Database: ', 'normal'); |
|
|
|
echo ConsoleColor::log('Permissions: ', 'normal'); |
|
|
|
if (isset($manifest['permissions']) && is_array($manifest['permissions'])) { |
|
|
|
if (isset($manifest['permissions']) && is_array($manifest['permissions'])) { |
|
|
|
$this->assignPermissions($manifest['permissions']); |
|
|
|
$this->assignPermissions($manifest['permissions']); |
|
|
|
} |
|
|
|
} |
|
|
|