Revert "fixed configs"

This reverts commit c94131b875f81c71a6f2e5e63c5ef08ea47b51ad.
This commit is contained in:
Qiang Xue
2014-02-08 17:44:02 -05:00
parent 009d47db9f
commit ae28d40b7a
2 changed files with 18 additions and 22 deletions

View File

@ -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;

View File

@ -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;