From 35ef023439b37e3bb8a62fe5be993926b0299690 Mon Sep 17 00:00:00 2001 From: Lufei Date: Fri, 4 Nov 2022 17:17:49 +0800 Subject: [PATCH] * Fix die error for xuanxuan. --- framework/base/control.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/base/control.class.php b/framework/base/control.class.php index 6f57ed714a..96f290dd92 100644 --- a/framework/base/control.class.php +++ b/framework/base/control.class.php @@ -938,7 +938,7 @@ class baseControl $data[$key] = str_replace('%22', '"', urlencode($value)); } - if(defined('RUN_MODE') and RUN_MODE == 'api') + if(defined('RUN_MODE') and in_array(RUN_MODE, array('api', 'xuanxuan'))) { print(urldecode(json_encode($data))); $response = helper::removeUTF8Bom(ob_get_clean());