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
e7ec32ad07
commit
8fc3908e0b
@ -82,10 +82,5 @@
|
||||
"allow-plugins": {
|
||||
"zoujingli/think-install": true
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"post-autoload-dump": [
|
||||
"@php -r \"file_exists('.env.example') && !file_exists('.env') && copy('.env.example', '.env');\""
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
"plugin": {
|
||||
"copy": {
|
||||
"stc/think": "!think",
|
||||
"stc/.env.example": "!.env.example",
|
||||
"stc/.env.example": ".env",
|
||||
"stc/public/index.php": "!public/index.php",
|
||||
"stc/public/static/plugs": "!public/static/plugs",
|
||||
"stc/public/static/theme": "!public/static/theme",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user