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:
Carsten Brandt
2013-11-05 13:15:53 +01:00
parent c0506b8cff
commit f6ba1f0082
2 changed files with 2 additions and 0 deletions

View File

@@ -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);