后台相关设置
织梦CMS开启绝对路径后,软件模型下载地址填https://开头的,调用出来会显示:域名+https://网址
解决方法
1、打开“/plus/download.php”,大概在147行,将
if(!preg_match("#^http:/-///-//|^thunder:/-///-//|^ftp:/-///-//|^flashget:/-///-//#i", $link))
改成
if(!preg_match("#^http:/-///-//|^https:/-///-//|^thunder:/-///-//|^ftp:/-///-//|^flashget:/-///-//#i", $link))
继续找到,大概在159行,将
#http
改成
#(http|https)
2、打开“/include/taglib/channel/softlinks.lib.php”,大概在87行,将
if(!preg_match("#^http:/-///-//|^thunder:/-///-//|^ftp:/-///-//|^flashget:/-///-//#i", $link))
改成
if(!preg_match("#^http:/-///-//|^https:/-///-//|^thunder:/-///-//|^ftp:/-///-//|^flashget:/-///-//#i", $link))
继续找到,大概在109行,将
#http
改成
#(http|https)
完成