This website works better with JavaScript.
首頁
註冊
登入
DedeBIZ
/
DedeV6
關註
2
收藏
0
複製
0
程式碼
合併請求
0
版本發佈
30
Activity
瀏覽代碼
Update channelunit.helper.php
调整开启绝对路径下,根网址重复问题
adminsite
叙述、别离
6 天之前
父節點
a392285dda
當前提交
568307ca4a
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/system/helpers/channelunit.helper.php
+ 1
- 1
src/system/helpers/channelunit.helper.php
查看文件
@@ -612,7 +612,7 @@ function GetHotKeywords(&$dsql, $num = 8, $nday = 365, $klen = 16, $orderby = 'c
*/
function Gmapurl($gurl)
{
return preg_match("
/http[s]?:\/\//
i", $gurl) ? $gurl : $GLOBALS['cfg_basehost'].$gurl;
return preg_match("
#^(http|https):\/\/#
i", $gurl) ? $gurl : $GLOBALS['cfg_basehost'].$gurl;
}
/**
* 引用回复标记处理
Write
Preview
Loading…
取消
儲存