From b1dacd3515dbd8c3bad32ba86301a39cf28abc1c Mon Sep 17 00:00:00 2001 From: xushubieli Date: Tue, 26 Apr 2022 10:59:35 +0800 Subject: [PATCH] Update channelunit.helper.php --- src/system/helpers/channelunit.helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/helpers/channelunit.helper.php b/src/system/helpers/channelunit.helper.php index 9094ad6b..f74b6805 100755 --- a/src/system/helpers/channelunit.helper.php +++ b/src/system/helpers/channelunit.helper.php @@ -152,7 +152,7 @@ if (!function_exists('GetFileName')) { if ($cfg_rewrite == 'Y') { //目录版return "/article/".$aid.""; //网页版 - return $GLOBALS['cfg_cmspath'].'/'.$aid.".html"; + return "/".$aid.".html"; } else { return $GLOBALS['cfg_phpurl']."/view.php?aid=$aid"; }