diff --git a/backend/config/main.php b/backend/config/main.php index bd49308..9af44d9 100755 --- a/backend/config/main.php +++ b/backend/config/main.php @@ -42,7 +42,7 @@ return [ 'components' => [ 'request' => [ 'csrfParam' => '_csrf-backend', - 'baseUrl' => 'secure', + 'baseUrl' => '/secure', ], 'user' => [ 'identityClass' => 'common\models\User', @@ -69,7 +69,7 @@ return [ 'enablePrettyUrl' => true, 'showScriptName' => false, 'rules' => [ - '' => '/card/user-card' + '' => '/card/user-card', ], ], diff --git a/backend/views/layouts/header.php b/backend/views/layouts/header.php index 8d22b6a..63a6791 100755 --- a/backend/views/layouts/header.php +++ b/backend/views/layouts/header.php @@ -1,5 +1,8 @@ -