mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-18 01:07:37 +08:00
fixed configs
This commit is contained in:
@ -1,10 +1,12 @@
|
|||||||
<?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;
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
<?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;
|
||||||
|
Reference in New Issue
Block a user