修复 UC登录兼容
This commit is contained in:
parent
d090ffd65b
commit
2210083721
|
@ -19,9 +19,9 @@ class adminbase extends base {
|
|||
|
||||
function adminbase() {
|
||||
parent::__construct();
|
||||
$this->cookie_status = 0;
|
||||
$sid = $this->cookie_status ? getgpc('sid', 'C') : rawurlencode(getgpc('sid', 'R'));
|
||||
$this->sid = $this->view->sid = $this->sid_decode($sid) ? $sid : '';
|
||||
$this->cookie_status = isset($_COOKIE['sid']) ? 1 : 0;
|
||||
$sid = $this->cookie_status ? getgpc('sid', 'C') : rawurlencode(getgpc('sid', 'R'));
|
||||
$this->sid = $this->view->sid = $this->sid_decode($sid) ? $sid : '';
|
||||
$this->view->assign('sid', $this->view->sid);
|
||||
$this->view->assign('iframe', getgpc('iframe'));
|
||||
$a = getgpc('a');
|
||||
|
|
Loading…
Reference in New Issue