From bf421e1a4944037da8ca08d9e3649cf2ec979704 Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Wed, 19 Nov 2025 17:58:54 +0800 Subject: [PATCH] 1 --- Server/application/common.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Server/application/common.php b/Server/application/common.php index 37a12739..e6cc5e26 100644 --- a/Server/application/common.php +++ b/Server/application/common.php @@ -550,14 +550,15 @@ if (!function_exists('exit_data')) { exit(); } } - -/** - * 调试打印变量但不终止程序 - * @return void - */ -function dump() -{ - call_user_func_array(['app\\common\\helper\\Debug', 'dump'], func_get_args()); +if (!function_exists('dump')) { + /** + * 调试打印变量但不终止程序 + * @return void + */ + function dump() + { + call_user_func_array(['app\\common\\helper\\Debug', 'dump'], func_get_args()); + } } if (!function_exists('artificialAllotWechatFriend')) {