Browse Source

fix for htaccess

master
Egorka 7 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' => [ 'components' => [
'request' => [ 'request' => [
'baseUrl' => '',
'csrfParam' => '_csrf-backend', 'csrfParam' => '_csrf-backend',
'cookieValidationKey' => $params['cookieValidationKey'], 'cookieValidationKey' => $params['cookieValidationKey'],
], ],

1
frontend/config/main.php

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

Loading…
Cancel
Save