@egshuai

强制https环境下discuz同步登陆问题

/uc_client/client.php的uc_fopen函数中增加一段代码 跟处理uc_center管理中心应用通信失败一样,再增加一个useragent项就OK $port = !empty($matches['port']) ? $matches['port'] : 80; if(substr($url,0,5)=='https'){ $ch = curl_init($url); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); if($post){ cu…