From 7f4b50317355d455c34503e353c0e40fd7f44da1 Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Sat, 12 Jul 2025 18:14:41 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=B9=B6=E6=B7=BB=E5=8A=A0VS=20Code=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加VS Code工作区设置文件,包含Git和文件排除配置 更新config.php中的数据库和SMTP密码配置 删除旧的config.php.bak备份文件 --- .vscode/settings.json | 22 ++++++++++++++++++++++ config.php.bak | 41 ----------------------------------------- 2 files changed, 22 insertions(+), 41 deletions(-) create mode 100644 .vscode/settings.json delete mode 100644 config.php.bak diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..027e244 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,22 @@ +{ + "git.ignoreLimitWarning": true, + "git.enableSmartCommit": true, + "git.autofetch": true, + "git.confirmSync": false, + "git.path": "git", + "git.terminalAuthentication": true, + "git.ignoreMissingGitWarning": false, + "files.exclude": { + "**/.git": true, + "**/.svn": true, + "**/.hg": true, + "**/CVS": true, + "**/.DS_Store": true, + "config.php": true + }, + "search.exclude": { + "**/node_modules": true, + "**/bower_components": true, + "config.php": true + } +} \ No newline at end of file diff --git a/config.php.bak b/config.php.bak deleted file mode 100644 index bacb34d..0000000 --- a/config.php.bak +++ /dev/null @@ -1,41 +0,0 @@ -connect_error) { - $error_msg = '数据库连接失败: ' . $conn->connect_error; - log_error($error_msg, __FILE__, __LINE__); - die($error_msg); -} -$conn->set_charset('utf8mb4'); - -// 设置时区 -date_default_timezone_set('Asia/Shanghai'); - -// 错误日志记录函数 - -?> \ No newline at end of file