From 4ec6d16ae56858a69193c1f8a6a9156f56ca1b49 Mon Sep 17 00:00:00 2001 From: tianya Date: Wed, 30 Nov 2022 21:24:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/view.php | 4 ++-- src/system/common.func.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/view.php b/src/apps/view.php index 48b8fedc..21556285 100755 --- a/src/apps/view.php +++ b/src/apps/view.php @@ -69,7 +69,7 @@ if ($needMoney > 0 || $needRank > 1) { showmsg('购买失败, 请返回', -1); exit; } - showmsg('购买成功,购买扣点不会重扣金币', '/plus/view.php?aid='.$aid); + showmsg('购买成功,购买扣点不会重扣金币', $GLOBALS['cfg_cmsurl'].'/apps/view.php?aid='.$aid); exit; } else { showmsg('购买失败,请返回', -1); @@ -77,7 +77,7 @@ if ($needMoney > 0 || $needRank > 1) { } } $msgtitle = "扣金币购买阅读"; - $moremsg = "浏览该文档需要付费
文档需要".$needMoney."金币才能浏览,您目前金币".$cfg_ml->M_Money."
确认付点阅读"; + $moremsg = "浏览该文档需要付费
文档需要".$needMoney."金币才能浏览,您目前金币".$cfg_ml->M_Money."
确认付点阅读"; include_once($cfg_basedir.$cfg_templets_dir."/plus/view_msg.htm"); $arc->Close(); exit(); diff --git a/src/system/common.func.php b/src/system/common.func.php index ff20725e..59675228 100755 --- a/src/system/common.func.php +++ b/src/system/common.func.php @@ -519,7 +519,7 @@ function AddFilter($channelid, $type=1, $fieldsnamef=array(), $defaulttid=0, $to } $fieldsnamef = count($fieldsnamef) > 0 ? implode(",", $fieldsnamef) : $fieldsnamef; $nofilter = (isset($_REQUEST['TotalResult']) ? "&TotalResult=".$_REQUEST['TotalResult'] : '').(isset($_REQUEST['PageNo']) ? "&PageNo=".$_REQUEST['PageNo'] : ''); - $filterarr = string_filter(stripos($_SERVER['REQUEST_URI'], "list.php?tid=") ? str_replace($nofilter, '', $_SERVER['REQUEST_URI']) : $GLOBALS['cfg_cmsurl']."/plus/list.php?tid=".$tid); + $filterarr = string_filter(stripos($_SERVER['REQUEST_URI'], "list.php?tid=") ? str_replace($nofilter, '', $_SERVER['REQUEST_URI']) : $GLOBALS['cfg_cmsurl']."/apps/list.php?tid=".$tid); $cInfos = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$channelid'"); $fieldset=$cInfos['fieldset']; $dtp = new DedeTagParse();