Ver código fonte

Update channelunit.helper.php

undefined
叙述、别离 1 semana atrás
pai
commit
a392285dda
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/system/helpers/channelunit.helper.php

+ 1
- 1
src/system/helpers/channelunit.helper.php Ver arquivo

@@ -72,7 +72,7 @@ if (!function_exists('GetFileUrl')) {
if ($moresite == 1) { if ($moresite == 1) {
$articleUrl = preg_replace("#^".$sitepath.'#', '', $articleUrl); $articleUrl = preg_replace("#^".$sitepath.'#', '', $articleUrl);
} }
if (!preg_match("/http:/", $articleUrl)) {
if (!preg_match("/^(http|https):\/\//", $articleUrl)) {
$articleUrl = $siteurl.$articleUrl; $articleUrl = $siteurl.$articleUrl;
} }
} }


Carregando…
Cancelar
Salvar