2016-01-02 19:13:18 +05:30
|
|
|
<?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 05:48:37 +05:30
|
|
|
'security' => [
|
|
|
|
'passwordHashStrategy' => 'password_hash',
|
2016-02-14 23:20:10 +05:30
|
|
|
],
|
|
|
|
'redis' => [
|
|
|
|
'class' => 'yii\redis\Connection',
|
|
|
|
],
|
2016-04-12 03:16:44 +05:30
|
|
|
'amqp' => [
|
|
|
|
'class' => \common\components\RabbitMQ\Component::class,
|
|
|
|
],
|
2016-01-02 19:13:18 +05:30
|
|
|
],
|
|
|
|
];
|