Commit 9eaaca9dc5ac848bebb214864803d0b37f1f765c

Authored by Administrator
1 parent cd6a0e39

image size

backend/config/main.php
... ... @@ -64,7 +64,9 @@ return [
64 64 ]
65 65 ],
66 66 'components' => [
67   -
  67 + 'authManager' => [
  68 + 'class' => 'yii\rbac\DbManager',
  69 + ],
68 70 'user' => [
69 71 'identityClass' => 'common\models\User',
70 72 'enableAutoLogin' => true,
... ...
common/config/main.php
... ... @@ -36,9 +36,7 @@ return [
36 36 ]
37 37 ],
38 38 ],
39   - 'authManager' => [
40   - 'class' => 'yii\rbac\DbManager',
41   - ],
  39 +
42 40 'cache' => [
43 41 'class' => 'yii\caching\FileCache',
44 42 ],
... ...
frontend/config/main.php
... ... @@ -12,6 +12,9 @@ return [
12 12 'bootstrap' => ['log'],
13 13 'controllerNamespace' => 'frontend\controllers',
14 14 'components' => [
  15 + 'authManager' => [
  16 + 'class' => 'yii\rbac\DbManager',
  17 + ],
15 18 'user' => [
16 19 'identityClass' => 'common\models\Customer',
17 20 'enableAutoLogin' => true,
... ...