源文件中 找到 \upload\includes\libraries\session.lib.php将123-137行 和 488-493行- {
- $this->gen_session_id();
- session_id($this->session_id . $this->gen_session_key($this->session_id));
- /*setcookie($this->session_name, $this->session_id . $this->gen_session_key($this->session_id), 0,
- $this->session_cookie_path, $this->session_cookie_domain, $this->session_cookie_secure);*/
- }
复制代码 注解错误 更改为 (删除 头尾 的 /* 和 */)- {
- $this->gen_session_id();
- session_id($this->session_id . $this->gen_session_key($this->session_id));
- setcookie($this->session_name, $this->session_id . $this->gen_session_key($this->session_id), 0,
- $this->session_cookie_path, $this->session_cookie_domain, $this->session_cookie_secure);
- }
复制代码 目前测试登陆和与论坛登陆同步登陆退出正常。
|