解决办法
在/uc_server/model 中找到admin.php
找到代码
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 : '';
将红色部分修改为
function adminbase() {
parent::__construct();
$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 : '';
|