Il sito funziona meglio con JavaScript.
Home
Registrati
Accedi
DedeBIZ
/
DedeV6
Segui
2
Vota
0
Forka
0
Codice
Pull Requests
0
Rilasci
30
Attività
Sfoglia il codice sorgente
Update channelunit.helper.php
调整开启绝对路径下,根网址重复问题
adminsite
叙述、别离
6 giorni fa
parent
a392285dda
commit
568307ca4a
1 ha cambiato i file
con
1 aggiunte
e
1 eliminazioni
Visualizzazione separata
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
Vedi File
@@ -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…
Annulla
Salva