织梦开启绝对路径后软件模型下载地址填https://开头的资源下载出错
下载出错提示
后台相关设置
织梦开启绝对路径后软件模型,下载地址填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)
如图
完成,记得重新生成一下全站
免责声明:本文由 一秒搜在https://www.1miaoseo.com发布,不代表SEO优化_织梦仿站[低至599]_网络营销推广服务-一秒搜立场。
本站所发布文章和图片均来自用户分享和网络收集,https://www.1miaoseo.com/seojc/seojq_1362.html文章和图片版权归原作者及原出处所有,仅供学习与参考,请勿用于商业用途,如果损害了您的权利,请联系网站客服处理。