From 51072723bbcc24614d5a08ac6c2af81775a6db02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <93301500+xushubieli@users.noreply.github.com> Date: Thu, 17 Apr 2025 10:22:52 +0800 Subject: [PATCH] Update sglistview.class.php --- src/system/archive/sglistview.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system/archive/sglistview.class.php b/src/system/archive/sglistview.class.php index e1236193..6b3635da 100755 --- a/src/system/archive/sglistview.class.php +++ b/src/system/archive/sglistview.class.php @@ -329,6 +329,8 @@ class SgListView return; } $this->CountRecord(); + if ((empty($this->PageNo) || $this->PageNo == 1) && $this->TypeLink->TypeInfos['ispart'] == 1) { + $tmpdir = $GLOBALS['cfg_basedir'].$GLOBALS['cfg_templets_dir']; $tempfile = str_replace("{tid}", $this->TypeID, $this->Fields['tempindex']); $tempfile = str_replace("{cid}", $this->ChannelUnit->ChannelInfos['nid'], $tempfile); $tempfile = $tmpdir."/".$tempfile;