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