您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021
  1. <?php
  2. $config = [
  3. 'components' => [
  4. 'request' => [
  5. // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
  6. 'cookieValidationKey' => '97ab1b4e420025edccf116eafc92ffd6',
  7. ],
  8. ],
  9. ];
  10. if (!YII_ENV_TEST) {
  11. // configuration adjustments for 'dev' environment
  12. $config['bootstrap'][] = 'debug';
  13. $config['modules']['debug'] = 'yii\debug\Module';
  14. $config['bootstrap'][] = 'gii';
  15. $config['modules']['gii'] = 'yii\gii\Module';
  16. }
  17. return $config;