From 1135e05b7b8a606600bff39b88ab7c13682e4aac Mon Sep 17 00:00:00 2001 From: MasonLiu <2857911564@qq.com> Date: Wed, 20 May 2026 01:16:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/check_config.py | 2 +- index.php | 2 +- install.sh | 20 +++++++++++++++----- log.php | 3 ++- uninstall.sh | 6 +++--- 5 files changed, 22 insertions(+), 11 deletions(-) diff --git a/config/check_config.py b/config/check_config.py index 21a75d7..e0ccf8f 100644 --- a/config/check_config.py +++ b/config/check_config.py @@ -20,7 +20,7 @@ def get_core_config(): debug = config.get('debug', 'False') # 使用 get 方法提供默认值 if str(debug).lower() == "true": # 统一转换为小写进行比较 logger.debug("Debug mode is on") - logger.debug(f"Loaded config: {config}") # 输出加载的配置 + # logger.debug(f"Loaded config: {config}") # 输出加载的配置,可能导致密钥泄露,请勿取消注释 time_choice = int(f"{config['time_mode']}") choice = config['mode'] # 假设 mode 是一个列表 diff --git a/index.php b/index.php index bfbeeea..023cc43 100644 --- a/index.php +++ b/index.php @@ -556,7 +556,7 @@ if ($db) {
-