forked from ZwiiCMS-Team/ZwiiCMS
merge 10400 fix
This commit is contained in:
parent
3c4e1f1294
commit
135df50a66
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user