Browse Source

fix for htaccess

master
Egorka 6 years ago
parent
commit
6c182f33c9
  1. 1
      backend/config/main.php
  2. 1
      frontend/config/main.php

1
backend/config/main.php

@ -44,6 +44,7 @@ return [
],
'components' => [
'request' => [
'baseUrl' => '',
'csrfParam' => '_csrf-backend',
'cookieValidationKey' => $params['cookieValidationKey'],
],

1
frontend/config/main.php

@ -22,6 +22,7 @@ return [
'controllerNamespace' => 'frontend\controllers',
'components' => [
'request' => [
'baseUrl' => '',
'csrfParam' => '_csrf-frontend',
'cookieValidationKey' => $params['cookieValidationKey'],
],

Loading…
Cancel
Save