You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
846 B
29 lines
846 B
7 years ago
|
<?php
|
||
|
return [
|
||
|
'aliases' => [
|
||
|
'@bower' => '@vendor/bower-asset',
|
||
|
'@npm' => '@vendor/npm-asset',
|
||
|
],
|
||
|
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
|
||
|
'components' => [
|
||
|
'cache' => [
|
||
|
'class' => 'yii\caching\FileCache',
|
||
|
'cachePath' => '@common/runtime/cache',
|
||
|
],
|
||
|
'authManager' => [
|
||
|
'class' => 'yii\rbac\DbManager',
|
||
|
'itemTable' => '{{%auth_items}}',
|
||
|
'itemChildTable' => '{{%auth_item_children}}',
|
||
|
'assignmentTable' => '{{%auth_assignments}}',
|
||
|
'ruleTable' => '{{%auth_rules}}',
|
||
|
],
|
||
|
'queue' => [
|
||
|
//'class' => 'yii\queue\redis\Queue',
|
||
|
//'as log' => 'yii\queue\LogBehavior',
|
||
|
'class' => \yii\queue\file\Queue::class,
|
||
|
//'path' => '@runtime/queue',
|
||
|
'path' => '@common/runtime/queue',
|
||
|
],
|
||
|
],
|
||
|
];
|