Commit bca3e95c by Carsten Brandt

reverted commit about aliases in debug and gii module

not needed when installed via composer and application config loads composer extensions correctly
parent f6ba1f00
No related merge requests found
......@@ -53,7 +53,6 @@ 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);
......
......@@ -96,7 +96,6 @@ class Module extends \yii\base\Module
*/
public function init()
{
Yii::setAlias('@yii/gii', __DIR__);
parent::init();
foreach (array_merge($this->coreGenerators(), $this->generators) as $id => $config) {
$this->generators[$id] = Yii::createObject($config);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment