1、打开根目录inc文件夹下CommonFun.asp文件 2、查找 - if not isNul(str) and left(str,7)="http://" then isUrl=true
复制代码3、复制以下代码覆盖以上查找到的代码 4、将此代码替换上方的代码 - 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
复制代码
|