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' ): ?> -