* Refactor my::profile.

This commit is contained in:
liumengyi
2023-11-24 11:07:44 +08:00
parent 45e6e2c647
commit 434506edec
+1 -2
View File
@@ -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;