官方客服 2018-06-26 18:59:58
由于阿里云虚拟空间,虽支持curl但不支持https协议,因此造成无法更新;
手动修改:\nzcms\finephp\base\base.func.php
搜索 fetch_url 约第336行
将整个fetch_url函数,用以下替换;
function fetch_url($url, $timeout = 30) {
$opts = array ('http'=>array('method'=>'GET', 'timeout'=>$timeout));
$context = stream_context_create($opts);
$html = file_get_contents($url, false, $context);
return $html;
}