2016-01-02 16:43:18 +03:00
|
|
|
<?php
|
|
|
|
return [
|
|
|
|
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
|
|
|
|
'components' => [
|
|
|
|
'cache' => [
|
|
|
|
'class' => 'yii\caching\FileCache',
|
|
|
|
],
|
|
|
|
'db' => [
|
|
|
|
'class' => 'yii\db\Connection',
|
|
|
|
'charset' => 'utf8',
|
|
|
|
],
|
|
|
|
'mailer' => [
|
|
|
|
'class' => 'yii\swiftmailer\Mailer',
|
|
|
|
'viewPath' => '@common/mail',
|
|
|
|
],
|
2016-01-03 03:18:37 +03:00
|
|
|
'security' => [
|
|
|
|
'passwordHashStrategy' => 'password_hash',
|
2016-02-14 20:50:10 +03:00
|
|
|
],
|
|
|
|
'redis' => [
|
|
|
|
'class' => 'yii\redis\Connection',
|
|
|
|
],
|
2016-04-12 00:46:44 +03:00
|
|
|
'amqp' => [
|
|
|
|
'class' => \common\components\RabbitMQ\Component::class,
|
|
|
|
],
|
2016-01-02 16:43:18 +03:00
|
|
|
],
|
|
|
|
];
|