From de7caa49c1412c886d6a0f8d215bfc5e22398ad1 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 25 Sep 2020 16:19:07 +0200 Subject: [PATCH] =?UTF-8?q?pb=20de=20menu=20fixe=20apr=C3=A8s=20auto=20log?= =?UTF-8?q?out?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 3 +++ core/layout/main.php | 29 +++++++++++------------------ 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/core/core.php b/core/core.php index c0e17e56..ecba26d1 100644 --- a/core/core.php +++ b/core/core.php @@ -1698,6 +1698,9 @@ class core extends common { ) { $user = new user; $user->logout(); + // Recharge la classe + $core = new core; + $core->router(); } // Mode maintenance if( diff --git a/core/layout/main.php b/core/layout/main.php index 6a151d2a..64538a94 100644 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -26,23 +26,17 @@ showNotification(); ?> getData(['theme', 'menu', 'position']) === 'body-first' || $this->getData(['theme', 'menu', 'position']) === 'top' ): ?> -