From 46e98c42a32ac0c7739c28c65d761cca62e666a4 Mon Sep 17 00:00:00 2001 From: timur Date: Thu, 15 Feb 2018 17:52:50 +0200 Subject: [PATCH] dont show default prefix --- frontend/config/main.php | 1 + frontend/views/site/error.php | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/config/main.php b/frontend/config/main.php index 9c17407..ae3cad2 100644 --- a/frontend/config/main.php +++ b/frontend/config/main.php @@ -46,6 +46,7 @@ return [ 'class' => SeoUrlManager::className(), 'enablePrettyUrl' => true, 'showScriptName' => false, + 'dontShowDefaulPrefix' => true, 'rules' => [ '\/robots.txt' => 'site/robots', ], diff --git a/frontend/views/site/error.php b/frontend/views/site/error.php index 42baba4..cced86b 100644 --- a/frontend/views/site/error.php +++ b/frontend/views/site/error.php @@ -23,10 +23,10 @@ $this->title = $name;

-

-

+

+

-

+

-- libgit2 0.21.4