mirror of
https://github.com/elyby/accounts.git
synced 2024-12-27 07:30:18 +05:30
26 lines
661 B
PHP
26 lines
661 B
PHP
|
<?php
|
||
|
$params = array_merge(
|
||
|
require(__DIR__ . '/../../common/config/params.php'),
|
||
|
require(__DIR__ . '/../../common/config/params-local.php'),
|
||
|
require(__DIR__ . '/params.php'),
|
||
|
require(__DIR__ . '/params-local.php')
|
||
|
);
|
||
|
|
||
|
return [
|
||
|
'id' => 'app-console',
|
||
|
'basePath' => dirname(__DIR__),
|
||
|
'bootstrap' => ['log'],
|
||
|
'controllerNamespace' => 'console\controllers',
|
||
|
'components' => [
|
||
|
'log' => [
|
||
|
'targets' => [
|
||
|
[
|
||
|
'class' => 'yii\log\FileTarget',
|
||
|
'levels' => ['error', 'warning'],
|
||
|
],
|
||
|
],
|
||
|
],
|
||
|
],
|
||
|
'params' => $params,
|
||
|
];
|