修改别更session名后出现的bug

hotfix/远程访问多媒体中心
cyc 7 years ago
parent 4fd416bd2a
commit 2ff2ace2c7

@ -22,6 +22,9 @@ class Index extends CI_Controller {
if(get_cookie('dingunionid') == ''){
redirect('http://www.mycht.cn/info.php/apps/dinglogin/login/?returnurl=http://www.mycht.cn/webht.php/apps/dingmail/index/');
}else{
if($this->session->userdata('dingdinguserinfo') === false){
redirect('http://www.mycht.cn/webht.php/apps/dingmail/index/');
}
if($unionid != null && $type != null){
$data['type'] = $type;
$data['user'] = get_cookie('dingname');

Loading…
Cancel
Save