💄 改进角色组新增方式

This commit is contained in:
WispX
2020-03-16 16:17:25 +08:00
parent 3e083ff453
commit 92355bd765
5 changed files with 55 additions and 40 deletions
@@ -135,7 +135,7 @@ class System extends Base
$config['hostport'],
], @file_get_contents($path . '.env.example'));
if (!@file_put_contents($path . '.env', $env)) {
throw new \Exception('配置文件写入失败', 500);
throw new \Exception('配置文件写入失败');
}
// 创建安装锁文件