Commit b4c60c14 by Alexander Kochetov

Yii 2 advanced app environments usage fix

parent 7dd0d97c
......@@ -4,8 +4,7 @@ return [
//'debug',
],
'modules' => [
// 'debug' => [
// 'class' => 'yii\debug\Module',
// ],
// 'debug' => 'yii\debug\Module',
// 'gii' => 'yii\gii\Module',
],
];
......@@ -4,8 +4,7 @@ return [
//'debug',
],
'modules' => [
// 'debug' => [
// 'class' => 'yii\debug\Module',
// ],
// 'debug' => 'yii\debug\Module',
// 'gii' => 'yii\gii\Module',
],
];
......@@ -13,9 +13,6 @@ return [
'basePath' => dirname(__DIR__),
'vendorPath' => $rootDir . '/vendor',
'controllerNamespace' => 'frontend\controllers',
'modules' => [
'gii' => 'yii\gii\Module'
],
'extensions' => require($rootDir . '/vendor/yiisoft/extensions.php'),
'components' => [
'db' => $params['components.db'],
......
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