[-] BO : fixed #PSCFV-3043 - can't active language in BO
This commit is contained in:
@@ -221,8 +221,9 @@ class DispatcherCore
|
|||||||
|
|
||||||
$this->setRequestUri();
|
$this->setRequestUri();
|
||||||
|
|
||||||
// Switch language if needed
|
// Switch language if needed (only on front)
|
||||||
Tools::switchLanguage();
|
if ($this->front_controller == self::FC_FRONT)
|
||||||
|
Tools::switchLanguage();
|
||||||
|
|
||||||
$this->loadRoutes();
|
$this->loadRoutes();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user