Skip to content

Commit

Permalink
gestion langue
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane authored and Stephane committed Mar 29, 2017
1 parent e3eeb41 commit 2e2fd95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plxMyMultiLingue.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e2fd95

Please sign in to comment.