mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 09:47:25 +08:00
Revert "fixed configs"
This reverts commit c94131b875f81c71a6f2e5e63c5ef08ea47b51ad.
This commit is contained in:
@ -1,12 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
return [
|
||||||
$config = [];
|
'preload' => [
|
||||||
|
'debug',
|
||||||
if (YII_ENV_DEV) {
|
],
|
||||||
// configuration adjustments for 'dev' environment
|
'modules' => [
|
||||||
$config['preload'][] = 'debug';
|
'debug' => 'yii\debug\Module',
|
||||||
$config['modules']['debug'] = 'yii\debug\Module';
|
'gii' => 'yii\gii\Module',
|
||||||
$config['modules']['gii'] = 'yii\gii\Module';
|
],
|
||||||
}
|
];
|
||||||
|
|
||||||
return $config;
|
|
||||||
|
|||||||
@ -1,12 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
return [
|
||||||
$config = [];
|
'preload' => [
|
||||||
|
'debug',
|
||||||
if (YII_ENV_DEV) {
|
],
|
||||||
// configuration adjustments for 'dev' environment
|
'modules' => [
|
||||||
$config['preload'][] = 'debug';
|
'debug' => 'yii\debug\Module',
|
||||||
$config['modules']['debug'] = 'yii\debug\Module';
|
'gii' => 'yii\gii\Module',
|
||||||
$config['modules']['gii'] = 'yii\gii\Module';
|
],
|
||||||
}
|
];
|
||||||
|
|
||||||
return $config;
|
|
||||||
|
|||||||
Reference in New Issue
Block a user