|
@@ -45,10 +45,14 @@ $config = [
|
|
|
if (YII_ENV_DEV) {
|
|
if (YII_ENV_DEV) {
|
|
|
// configuration adjustments for 'dev' environment
|
|
// configuration adjustments for 'dev' environment
|
|
|
$config['bootstrap'][] = 'debug';
|
|
$config['bootstrap'][] = 'debug';
|
|
|
- $config['modules']['debug'] = 'yii\debug\Module';
|
|
|
|
|
|
|
+ $config['modules']['debug'] = [
|
|
|
|
|
+ 'class' => 'yii\debug\Module',
|
|
|
|
|
+ ];
|
|
|
|
|
|
|
|
$config['bootstrap'][] = 'gii';
|
|
$config['bootstrap'][] = 'gii';
|
|
|
- $config['modules']['gii'] = 'yii\gii\Module';
|
|
|
|
|
|
|
+ $config['modules']['gii'] = [
|
|
|
|
|
+ 'class' => 'yii\gii\Module',
|
|
|
|
|
+ ];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
return $config;
|
|
return $config;
|