Este sitio web funciona mejor con JavaScript.
Inicio
Registro
Iniciar sesión
DedeBIZ
/
DedeV6
Seguir
2
Destacar
0
Fork
0
Código
Pull Requests
0
Lanzamientos
30
Actividad
Explorar el Código
Update channelunit.helper.php
调整开启绝对路径下,根网址重复问题
adminsite
叙述、别离
hace 1 semana
padre
a392285dda
commit
568307ca4a
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
src/system/helpers/channelunit.helper.php
+ 1
- 1
src/system/helpers/channelunit.helper.php
Ver fichero
@@ -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;
}
/**
* 引用回复标记处理
Escribir
Vista previa
Cargando…
Cancelar
Guardar