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