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.
37 lines
1.2 KiB
37 lines
1.2 KiB
<?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', |
|
], |
|
'avatar' => [ |
|
'class' => \zertex\avatar_generator\AvatarGenerator::class, |
|
'images_folder' => '@staticRoot/images/avatars', |
|
'images_url' => '@static/images/avatars', |
|
'size_width' => 300, // default: 300 |
|
'font_size' => 200, // default: 200 |
|
'salt' => 'my_cms_salt', // salt for image file names |
|
'texture' => ['sun', 'rain'], // texture name |
|
], |
|
], |
|
];
|
|
|