mirror of
https://github.com/elyby/accounts.git
synced 2024-11-01 00:13:06 +05:30
31 lines
815 B
PHP
31 lines
815 B
PHP
<?php
|
|
return [
|
|
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
|
|
'components' => [
|
|
'cache' => [
|
|
'class' => yii\caching\FileCache::class,
|
|
],
|
|
'db' => [
|
|
'class' => yii\db\Connection::class,
|
|
'charset' => 'utf8',
|
|
],
|
|
'mailer' => [
|
|
'class' => yii\swiftmailer\Mailer::class,
|
|
'viewPath' => '@common/mail',
|
|
],
|
|
'security' => [
|
|
'passwordHashStrategy' => 'password_hash',
|
|
],
|
|
'redis' => [
|
|
'class' => yii\redis\Connection::class,
|
|
],
|
|
'amqp' => [
|
|
'class' => \common\components\RabbitMQ\Component::class,
|
|
],
|
|
],
|
|
'aliases' => [
|
|
'@bower' => '@vendor/bower-asset',
|
|
'@npm' => '@vendor/npm-asset',
|
|
],
|
|
];
|