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) {
-