|
|
@ -11,7 +11,13 @@ return [ |
|
|
|
'bootstrap' => ['log'], |
|
|
|
'modules' => [ |
|
|
|
'goods' => [ |
|
|
|
'class' => 'goods\Module', |
|
|
|
'class' => '\backend\modules\goods\Module', |
|
|
|
], |
|
|
|
'file' => [ |
|
|
|
'class' => '\backend\modules\file\Module', |
|
|
|
], |
|
|
|
'shop' => [ |
|
|
|
'class' => '\backend\modules\shop\Module', |
|
|
|
], |
|
|
|
], |
|
|
|
'components' => [ |
|
|
@ -22,7 +28,7 @@ return [ |
|
|
|
'csrfParam' => '_csrf-api', |
|
|
|
], |
|
|
|
'user' => [ |
|
|
|
'identityClass' => 'backend\models\User', |
|
|
|
'identityClass' => 'common\models\User', |
|
|
|
'enableAutoLogin' => true, |
|
|
|
'identityCookie' => ['name' => '_identity-backend', 'httpOnly' => true], |
|
|
|
], |
|
|
|