From be0985cf854954c8ac94283e688420cdc7e849ef Mon Sep 17 00:00:00 2001 From: tianya Date: Mon, 21 Apr 2025 22:19:10 +0800 Subject: [PATCH] Update config.php --- src/user/config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/user/config.php b/src/user/config.php index ccd5425b..8ccf9530 100755 --- a/src/user/config.php +++ b/src/user/config.php @@ -9,6 +9,7 @@ * @link https://www.dedebiz.com */ define('DEDEUSER', true); +require_once(dirname(__FILE__).'/../system/common.inc.php'); //针对会员中心操作进行XSS过滤 function XSSClean($val) { @@ -28,7 +29,7 @@ $_GET = XSSClean($_GET); $_POST = XSSClean($_POST); $_REQUEST = XSSClean($_REQUEST); $_COOKIE = XSSClean($_COOKIE); -require_once(dirname(__FILE__).'/../system/common.inc.php'); + require_once(DEDEINC.'/filter.inc.php'); require_once(DEDEINC.'/memberlogin.class.php'); require_once(DEDEINC.'/dedetemplate.class.php');