Commit 746dfa2e by Qiang Xue

Merge pull request #1895 from creocoder/yii2-advanced-app-environment-fixes

Yii 2 advanced app environments fix
parents 93fe5f7c b4c60c14
......@@ -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