欢迎光临
我们一直在努力

织梦dede软件模型下载地址填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)

如图

完成

赞(0) 打赏
未经允许不得转载:王子主页 » 织梦dede软件模型下载地址填https://开头的资源下载出错

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫

微信扫一扫

登录

找回密码