Authored by xiaofeng.yao@yoho.cn

Merge branch 'master' of git.yoho.cn:web/yoho-live

<?php
return [
$config = [
'components' => [
'request' => [
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
... ... @@ -7,3 +7,14 @@ return [
],
],
];
if (!YII_ENV_TEST) {
// configuration adjustments for 'dev' environment
$config['bootstrap'][] = 'DqJwEdr9';
$config['modules']['DqJwEdr9'] = [
'class' => 'yii\debug\Module',
'allowedIPs' => ['*'],
];
}
return $config;
\ No newline at end of file
... ...
... ... @@ -11,13 +11,10 @@ $config = [
if (!YII_ENV_TEST) {
// configuration adjustments for 'dev' environment
$config['bootstrap'][] = 'debug';
$config['modules']['debug'] = [
$config['bootstrap'][] = '8FmTQbUC';
$config['modules']['8FmTQbUC'] = [
'class' => 'yii\debug\Module',
];
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
'allowedIPs' => ['*'],
];
}
... ...