Pārlūkot izejas kodu

Update channelunit.helper.php

undefined
叙述、别离 pirms 2 nedēļām
vecāks
revīzija
a392285dda
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/system/helpers/channelunit.helper.php

+ 1
- 1
src/system/helpers/channelunit.helper.php Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt