From 6c182f33c9ea42d1734af218fe826ad16edc7ece Mon Sep 17 00:00:00 2001 From: Egorka Date: Thu, 19 Jul 2018 22:24:38 +0300 Subject: [PATCH] fix for htaccess --- backend/config/main.php | 1 + frontend/config/main.php | 1 + 2 files changed, 2 insertions(+) diff --git a/backend/config/main.php b/backend/config/main.php index b4b7f87..80ae1ab 100644 --- a/backend/config/main.php +++ b/backend/config/main.php @@ -44,6 +44,7 @@ return [ ], 'components' => [ 'request' => [ + 'baseUrl' => '', 'csrfParam' => '_csrf-backend', 'cookieValidationKey' => $params['cookieValidationKey'], ], diff --git a/frontend/config/main.php b/frontend/config/main.php index 27e631d..cd2679f 100644 --- a/frontend/config/main.php +++ b/frontend/config/main.php @@ -22,6 +22,7 @@ return [ 'controllerNamespace' => 'frontend\controllers', 'components' => [ 'request' => [ + 'baseUrl' => '', 'csrfParam' => '_csrf-frontend', 'cookieValidationKey' => $params['cookieValidationKey'], ],