瀏覽代碼

Update channelunit.helper.php

undefined
叙述、别离 1 周之前
父節點
當前提交
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…
取消
儲存