[-] BO : fixed #PSCFV-3043 - can't active language in BO

This commit is contained in:
vAugagneur
2012-07-05 07:22:31 +00:00
parent 434c9b7398
commit f8d28045dd
+3 -2
View File
@@ -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();
} }