mirror of
https://github.com/humhub/humhub.git
synced 2025-03-02 22:19:18 +01:00
Added yii alias @moduleId to modules basedir
This commit is contained in:
parent
bfaf7c0fff
commit
5dc7493392
@ -114,7 +114,9 @@ class ModuleManager extends \yii\base\Component
|
||||
if (isset($config['namespace'])) {
|
||||
Yii::setAlias('@' . str_replace('\\', '/', $config['namespace']), $basePath);
|
||||
}
|
||||
|
||||
Yii::setAlias('@'.$config['id'], $basePath);
|
||||
|
||||
|
||||
if (!Yii::$app->params['installed'] && $isInstallerModule) {
|
||||
$this->enabledModules[] = $config['id'];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user