diff --git a/src/system/archive/taglist.class.php b/src/system/archive/taglist.class.php index 5c6380bb..bfbfa2bc 100755 --- a/src/system/archive/taglist.class.php +++ b/src/system/archive/taglist.class.php @@ -61,7 +61,7 @@ class TagList if (!empty($this->Tag)) { $this->TagInfos = $this->dsql->GetOne("SELECT * FROM `#@__tagindex` where id = '{$this->Tag}' "); if (!is_array($this->TagInfos)) { - ShowMsg('当前标签不存在,系统自动返回标签首页', 'tags.php'); + ShowMsg('当前标签不存在,系统自动返回主页', '/'); exit(); } $this->Fields['title'] = empty($this->TagInfos['title']) ? $this->TagInfos['tag'] : $this->TagInfos['title']; diff --git a/src/system/helpers/extend.helper.php b/src/system/helpers/extend.helper.php index 1fbcf9b7..06d51317 100755 --- a/src/system/helpers/extend.helper.php +++ b/src/system/helpers/extend.helper.php @@ -29,7 +29,7 @@ if (!function_exists('ParCv')) { if (!function_exists('ParamError')) { function ParamError() { - ShowMsg('当前网页不存在,系统自动返回首页', 'index.php'); + ShowMsg('当前网页不存在,系统自动返回主页', '/'); exit(); } }