设为首页 - 加入收藏
广告 1000x90
您的当前位置:主页 > 网站运营 > 正文

织梦dede软件模型下载地址填https://开头的资源下载出错

来源:网络分享 编辑:引流技巧 时间:2026-05-10

后台相关设置

织梦开启绝对路径后软件模型,下载地址填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)

如图

完成

相关推荐:

栏目分类

微商引流技巧网 www.yinliujiqiao.com 联系QQ:1716014443 邮箱:1716014443@qq.com

Copyright © 2019-2024 强大传媒 吉ICP备19000289号-9 网站地图 rss地图

Top