Hotfix 1.4.4.1: Switching languages

This commit is contained in:
trendschau 2021-03-01 11:08:37 +01:00
parent f45da5e56f
commit b2dbc76445

View file

@ -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