From 2e2fd9560fe28750bbf7b52fd7e82eba17a51eaa Mon Sep 17 00:00:00 2001 From: Stephane Date: Wed, 29 Mar 2017 15:13:53 +0200 Subject: [PATCH] gestion langue --- plxMyMultiLingue.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plxMyMultiLingue.php b/plxMyMultiLingue.php index 872038c..41101d6 100755 --- a/plxMyMultiLingue.php +++ b/plxMyMultiLingue.php @@ -88,7 +88,8 @@ public function __construct($default_lang) { # PLX_MYMULTILINGUE contient la liste des langues et la langue courante - pour être utilisé par d'autres plugins define('PLX_MYMULTILINGUE', array('langs' => $this->getParam('flags'), 'lang' => $this->lang)); - $_SESSION['lang'] = $this->lang; + + if(!defined('PLX_ADMIN')) $_SESSION['lang'] = $this->lang; #==================================================== # déclaration des hooks communs frontend et backend