Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiguai committed Feb 5, 2024
2 parents 3e21490 + 30569aa commit 79b32ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions VerLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
- 2024 年 2 月 6 日 (17)
--修复. 后台邮箱配置端口无法设置问题
--修复. 默认主题的Axios的CDN链接
--优化. 配置文件更新无权限报错问题

- 2024 年 2 月 1 日
--修复. 后台卡片管理taContact的遗漏
Expand Down
7 changes: 4 additions & 3 deletions app/common/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,11 @@ public function mBoolCoverConfig($filename = '', $data = [], $free = false, $env
}

//写入并返回结果
if (!file_put_contents($filename, $str_file)) {
return false;
} else {
try {
file_put_contents($filename, $str_file);
return true;
} catch (\Throwable $th) {
return false;
}
}
}

0 comments on commit 79b32ef

Please sign in to comment.