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.
 
 
 
 
 
 

25 lines
613 B

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