From 135df50a666b90b5085e8c7420ca1e12a94182b1 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 14 Nov 2020 16:16:51 +0100 Subject: [PATCH] merge 10400 fix --- core/core.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/core/core.php b/core/core.php index 77b4225d..d251f465 100644 --- a/core/core.php +++ b/core/core.php @@ -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