本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
註冊
登入
DedeBIZ
/
DedeV6
關注
2
收藏
0
複製
0
程式碼
合併請求
0
版本發佈
31
活動
瀏覽代碼
Update channelunit.helper.php
调整开启绝对路径下,根网址重复问题
undefined
叙述、别离
2 月之前
父節點
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…
取消
儲存