You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 satır
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. ];