Commit 009d47db by Qiang Xue

Merge pull request #2371 from Ragazzo/fixed_advanced_app_configs

fixed configs
parents aeeee44f c94131b8
<?php <?php
return [
'preload' => [ $config = [];
'debug',
], if (YII_ENV_DEV) {
'modules' => [ // configuration adjustments for 'dev' environment
'debug' => 'yii\debug\Module', $config['preload'][] = 'debug';
'gii' => 'yii\gii\Module', $config['modules']['debug'] = 'yii\debug\Module';
], $config['modules']['gii'] = 'yii\gii\Module';
]; }
return $config;
<?php <?php
return [
'preload' => [ $config = [];
'debug',
], if (YII_ENV_DEV) {
'modules' => [ // configuration adjustments for 'dev' environment
'debug' => 'yii\debug\Module', $config['preload'][] = 'debug';
'gii' => 'yii\gii\Module', $config['modules']['debug'] = 'yii\debug\Module';
], $config['modules']['gii'] = 'yii\gii\Module';
]; }
return $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