mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-07 12:38:11 +08:00
fix: 优化 env 配置文件处理脚本
This commit is contained in:
parent
7d4b57e064
commit
21aad56260
@ -85,7 +85,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"post-autoload-dump": [
|
||||
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
||||
"@php -r \"file_exists('.env.example') && !file_exists('.env') && copy('.env.example', '.env');\""
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -8,6 +8,6 @@ prefix=
|
||||
|
||||
[redis]
|
||||
host=127.0.0.1
|
||||
password=""
|
||||
port=6379
|
||||
password=
|
||||
select=0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user