Commit 45bf5dee by Mark

env. config fixed

parent 557e3430
<?php <?php
return [
'preload' => [ $config = [];
'debug',
], if (!YII_ENV_TEST) {
'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_TEST) {
'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