merge 10400 fix

This commit is contained in:
Fred Tempez 2020-11-14 16:16:51 +01:00
parent 3c4e1f1294
commit 135df50a66

View File

@ -62,7 +62,8 @@ class common {
'theme',
'config',
'edit',
'config'
'config',
'translate'
];
public static $accessExclude = [
'login',
@ -159,7 +160,8 @@ class common {
'user' => '',
'theme' => '',
'admin' => '',
'blacklist' => ''
'blacklist' => '',
'translate' => ''
];
/**
@ -212,10 +214,6 @@ class common {
$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
if ( $this->getData(['translate','active'])) {
// Lire la langue du navigateur