| Current Path : /var/www/html/sprm/console/config/ |
| Current File : /var/www/html/sprm/console/config/main.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'],
],
],
],
],
'controllerMap' => [
'migration' => [
'class' => 'tmukherjee13\migration\console\controllers\MigrationController',
'templateFile' => '@tmukherjee13/migration/views/template.php',
],
// 'migration' => [
// 'class' => 'bizley\migration\controllers\MigrationController',
// ],
],
'params' => $params,
];