From b2dbc764452f3d93ed0592b670d997c2faa893e5 Mon Sep 17 00:00:00 2001 From: trendschau Date: Mon, 1 Mar 2021 11:08:37 +0100 Subject: [PATCH] Hotfix 1.4.4.1: Switching languages --- system/system.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/system.php b/system/system.php index 7bd9bad..518744f 100644 --- a/system/system.php +++ b/system/system.php @@ -268,7 +268,7 @@ $container['view'] = function ($container) use ($uri) /****************************** * LOAD TRANSLATIONS * ******************************/ - $pieces = explode('/',$uri->getPath()); + $pieces = explode('/',trim($uri->getPath(),'/')); if( ($pieces[0] === 'tm' OR $pieces[0] === 'setup') ) { # Admin environment labels