* adjust for check one click package.

This commit is contained in:
wangyidong
2020-12-09 10:53:04 +08:00
parent 1654db7e6c
commit ff9a3932cc
12 changed files with 104 additions and 48 deletions
+2 -1
View File
@@ -821,13 +821,14 @@ class user extends control
$this->view->demoUsers = $demoUsers;
}
$this->app->loadLang('misc');
$this->loadModel('misc');
$this->view->noGDLib = sprintf($this->lang->misc->noGDLib, common::getSysURL() . $this->config->webRoot, '', false, true);
$this->view->title = $this->lang->user->login;
$this->view->referer = $this->referer;
$this->view->s = zget($this->config->global, 'sn', '');
$this->view->keepLogin = $this->cookie->keepLogin ? $this->cookie->keepLogin : 'off';
$this->view->rand = $this->user->updateSessionRandom();
$this->view->weakSites = $this->misc->checkOneClickPackage();
$this->display();
}
}