今天遇到了很多问题,ASPCMS不能添加https的友情链接。下面就记录一下我的解决办法。
ASPCMS友情链接识别https的方法
1、打开根目录inc文件夹下AspCms_CommonFun.asp文件
2、查找 if not isNul(str) and left(str,7)="http://" then isUrl=true 这段代码,大概在345行。
3、复制以下代码覆盖以上查找到的代码
if not isNul(str) and left(str,7)="http://" or left(str,8)="https://" then isUrl=true
初始代码
'是否为URL Function isUrl(str) isUrl=false if not isNul(str) and left(str,7)="http://" then isUrl=true End Function
修改后的代码
'是否为URL Function isUrl(str) isUrl=false if not isNul(str) and left(str,7)="http://" or left(str,8)="https://" then isUrl=true End Function
原创文章请注明转载自霍者博客本文地址:http://www.huozheweb.com/post/769.html,标题:ASPCMS友情链接无法添加识别https的问题 aspcms如何添加https的友情链接