Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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', 'gii'],
- 'controllerNamespace' => 'console\controllers',
- 'modules' => [
- 'gii' => 'yii\gii\Module',
- ],
- 'components' => [
- 'db' => [
- 'class' => 'yii\db\Connection',
- 'dsn' => 'mysql:host=localhost;dbname=dev_minibems',
- 'username' => 'dev_minibems',
- 'password' => '***',
- 'charset' => 'utf8',
- ],
- 'authManager' => [
- 'class' => 'yii\rbac\PhpManager'
- ],
- 'user' => [
- 'identityClass' => 'vendor\dektrium\yii2-user\models\User',
- 'enableAutoLogin' => true,
- ],
- 'log' => [
- 'targets' => [
- [
- 'class' => 'yii\log\FileTarget',
- 'levels' => ['error', 'warning'],
- ],
- ],
- ],
- ],
- 'params' => $params,
- ];
Advertisement
Add Comment
Please, Sign In to add comment