merge 10400 fix

This commit is contained in:
Fred Tempez 2020-11-14 16:16:51 +01:00
parent 3c4e1f1294
commit 135df50a66
1 changed files with 4 additions and 6 deletions

View File

@ -62,7 +62,8 @@ class common {
'theme', 'theme',
'config', 'config',
'edit', 'edit',
'config' 'config',
'translate'
]; ];
public static $accessExclude = [ public static $accessExclude = [
'login', 'login',
@ -159,7 +160,8 @@ class common {
'user' => '', 'user' => '',
'theme' => '', 'theme' => '',
'admin' => '', 'admin' => '',
'blacklist' => '' 'blacklist' => '',
'translate' => ''
]; ];
/** /**
@ -212,10 +214,6 @@ class common {
$this->user = $this->getData(['user', $this->getInput('ZWII_USER_ID')]); $this->user = $this->getData(['user', $this->getInput('ZWII_USER_ID')]);
} }
// Mise en cache des pages et des modules
$this->page = $this->getCache('page');
$this->module = $this->getCache('module');
// Auto traduction // Auto traduction
if ( $this->getData(['translate','active'])) { if ( $this->getData(['translate','active'])) {
// Lire la langue du navigateur // Lire la langue du navigateur