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

26 行
661B

  1. <?php
  2. $params = array_merge(
  3. require(__DIR__ . '/../../common/config/params.php'),
  4. require(__DIR__ . '/../../common/config/params-local.php'),
  5. require(__DIR__ . '/params.php'),
  6. require(__DIR__ . '/params-local.php')
  7. );
  8. return [
  9. 'id' => 'app-console',
  10. 'basePath' => dirname(__DIR__),
  11. 'bootstrap' => ['log'],
  12. 'controllerNamespace' => 'console\controllers',
  13. 'components' => [
  14. 'log' => [
  15. 'targets' => [
  16. [
  17. 'class' => 'yii\log\FileTarget',
  18. 'levels' => ['error', 'warning'],
  19. ],
  20. ],
  21. ],
  22. ],
  23. 'params' => $params,
  24. ];