Преглед на файлове

Update channelunit.helper.php

undefined
叙述、别离 преди 7 месеца
родител
ревизия
a392285dda
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      src/system/helpers/channelunit.helper.php

+ 1
- 1
src/system/helpers/channelunit.helper.php Целия файл

@@ -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;
}
}


Loading…
Отказ
Запис