2016-01-02 19:13:18 +05:30
|
|
|
<?php
|
|
|
|
$params = array_merge(
|
|
|
|
require(__DIR__ . '/../../common/config/params.php'),
|
2016-09-16 03:58:28 +05:30
|
|
|
require(__DIR__ . '/params.php')
|
2016-01-02 19:13:18 +05:30
|
|
|
);
|
|
|
|
|
|
|
|
return [
|
2016-09-16 03:58:28 +05:30
|
|
|
'id' => 'accounts-console',
|
2016-01-02 19:13:18 +05:30
|
|
|
'basePath' => dirname(__DIR__),
|
|
|
|
'bootstrap' => ['log'],
|
|
|
|
'controllerNamespace' => 'console\controllers',
|
2016-09-16 03:58:28 +05:30
|
|
|
'params' => $params,
|
2016-01-02 19:13:18 +05:30
|
|
|
'components' => [
|
|
|
|
'log' => [
|
|
|
|
'targets' => [
|
2016-11-22 04:17:41 +05:30
|
|
|
[
|
2016-12-08 01:52:49 +05:30
|
|
|
'class' => mito\sentry\Target::class,
|
2016-11-22 04:17:41 +05:30
|
|
|
'levels' => ['error', 'warning'],
|
|
|
|
],
|
2016-01-02 19:13:18 +05:30
|
|
|
[
|
2016-09-16 03:58:28 +05:30
|
|
|
'class' => yii\log\FileTarget::class,
|
2016-01-02 19:13:18 +05:30
|
|
|
'levels' => ['error', 'warning'],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
2016-01-03 05:48:37 +05:30
|
|
|
'controllerMap' => [
|
|
|
|
'migrate' => [
|
2016-09-16 03:58:28 +05:30
|
|
|
'class' => yii\console\controllers\MigrateController::class,
|
2016-01-03 05:48:37 +05:30
|
|
|
'templateFile' => '@console/views/migration.php',
|
|
|
|
],
|
|
|
|
],
|
2016-01-02 19:13:18 +05:30
|
|
|
];
|