From 434506edecf36ca856f0e92abffae5706462f990 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Fri, 24 Nov 2023 11:07:30 +0800 Subject: [PATCH] * Refactor my::profile. --- module/my/control.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/my/control.php b/module/my/control.php index 4d59b11061..31dbfbc0ba 100755 --- a/module/my/control.php +++ b/module/my/control.php @@ -1363,6 +1363,7 @@ EOF; } /** + * 查看我的个人档案。 * View my profile. * * @access public @@ -1372,8 +1373,6 @@ EOF; { if($this->app->user->account == 'guest') return print(js::alert('guest') . js::locate('back')); - $this->app->loadConfig('user'); - $this->app->loadLang('user'); $user = $this->user->getById($this->app->user->account); $this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->profile;