From ca74d24ab022199f23b5cc6d33b758018d6dd8c8 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Mon, 10 Jul 2023 16:24:38 +0800 Subject: [PATCH] * Fix bug #36420. --- module/admin/control.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/admin/control.php b/module/admin/control.php index 7705fca59f..7f45945795 100755 --- a/module/admin/control.php +++ b/module/admin/control.php @@ -54,6 +54,9 @@ class admin extends control $this->view->ignore = false; } + $usedMode = zget($this->config->global, 'mode', 'light'); + if($usedMode == 'light') unset($this->lang->admin->menuList->template); + $this->loadModel('misc'); $langNotCN = common::checkNotCN();