From 89752d3e66e9db882e426b2d0f16d8810dc2d90f Mon Sep 17 00:00:00 2001 From: sunhao Date: Mon, 17 Jul 2023 22:00:43 +0800 Subject: [PATCH] * zin: skip to send debug info with non-zin ajax request. --- lib/zin/core/wg.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zin/core/wg.class.php b/lib/zin/core/wg.class.php index edcf4293f3..d8e814c3e1 100644 --- a/lib/zin/core/wg.class.php +++ b/lib/zin/core/wg.class.php @@ -146,7 +146,7 @@ class wg global $app, $config; $zinDebug = null; - if($config->debug) + if($config->debug && (!isAjaxRequest() || isAjaxRequest('zin'))) { $zinDebug = data('zinDebug'); if(is_array($zinDebug))