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