2016-01-02 19:13:18 +05:30
|
|
|
<?php
|
|
|
|
return [
|
|
|
|
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
|
|
|
|
'components' => [
|
|
|
|
'cache' => [
|
2016-07-17 21:43:40 +05:30
|
|
|
'class' => yii\caching\FileCache::class,
|
2016-01-02 19:13:18 +05:30
|
|
|
],
|
|
|
|
'db' => [
|
2016-07-17 21:43:40 +05:30
|
|
|
'class' => yii\db\Connection::class,
|
2016-01-02 19:13:18 +05:30
|
|
|
'charset' => 'utf8',
|
|
|
|
],
|
|
|
|
'mailer' => [
|
2016-07-17 21:43:40 +05:30
|
|
|
'class' => yii\swiftmailer\Mailer::class,
|
2016-01-02 19:13:18 +05:30
|
|
|
'viewPath' => '@common/mail',
|
|
|
|
],
|
2016-01-03 05:48:37 +05:30
|
|
|
'security' => [
|
|
|
|
'passwordHashStrategy' => 'password_hash',
|
2016-02-14 23:20:10 +05:30
|
|
|
],
|
|
|
|
'redis' => [
|
2016-07-17 21:43:40 +05:30
|
|
|
'class' => yii\redis\Connection::class,
|
2016-02-14 23:20:10 +05:30
|
|
|
],
|
2016-04-12 03:16:44 +05:30
|
|
|
'amqp' => [
|
|
|
|
'class' => \common\components\RabbitMQ\Component::class,
|
|
|
|
],
|
2016-01-02 19:13:18 +05:30
|
|
|
],
|
2016-06-16 13:30:16 +05:30
|
|
|
'aliases' => [
|
|
|
|
'@bower' => '@vendor/bower-asset',
|
|
|
|
'@npm' => '@vendor/npm-asset',
|
|
|
|
],
|
2016-01-02 19:13:18 +05:30
|
|
|
];
|