增加.env环境变量配置

This commit is contained in:
liweisen 2020-05-07 13:15:33 +08:00
parent 3506af1b66
commit dae7498662
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[app]
app_name = false
app_version = 2.8.14
app_version = 2.8.15
app_host = ''
app_debug = false
app_trace = false

View File

@ -6,7 +6,7 @@ return [
// 应用名称
'app_name' => Env::get('app.app_name', false),
// 应用版本
'app_version' => Env::get('app.app_version', '2.8.14'),
'app_version' => Env::get('app.app_version', '1.0.0'),
// 应用地址
'app_host' => Env::get('app.app_host', ''),
// 应用调试模式