mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-15 03:38:01 +01:00
fixed asset path problem in gii and debug module
set alias to the correct path as they are not part of the yii framework directory anymore
This commit is contained in:
@@ -53,6 +53,7 @@ class Module extends \yii\base\Module
|
||||
|
||||
public function init()
|
||||
{
|
||||
Yii::setAlias('@yii/debug', __DIR__);
|
||||
parent::init();
|
||||
$this->dataPath = Yii::getAlias($this->dataPath);
|
||||
$this->logTarget = Yii::$app->getLog()->targets['debug'] = new LogTarget($this);
|
||||
|
||||
Reference in New Issue
Block a user