mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 12:40:25 +08:00
feat: 同步框架更新
This commit is contained in:
@@ -55,6 +55,20 @@ func init() {
|
||||
// More: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||
"timezone": carbon.PRC,
|
||||
|
||||
// Application Locale Configuration
|
||||
//
|
||||
// The application locale determines the default locale that will be used
|
||||
// by the translation service provider.You are free to set this value
|
||||
// to any of the locales which will be supported by the application.
|
||||
"locale": "zh_CN",
|
||||
|
||||
// Application Fallback Locale
|
||||
//
|
||||
// The fallback locale determines the locale to use when the current one
|
||||
// is not available.You may change the value to correspond to any of
|
||||
// the language folders that are provided through your application.
|
||||
"fallback_locale": "zh_CN",
|
||||
|
||||
// Encryption Key
|
||||
//
|
||||
// 32 character string, otherwise these encrypted strings
|
||||
|
||||
@@ -2,7 +2,6 @@ package config
|
||||
|
||||
import (
|
||||
"github.com/goravel/framework/facades"
|
||||
"github.com/goravel/framework/support/path"
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -21,17 +20,11 @@ func init() {
|
||||
// may even configure multiple disks of the same driver. Defaults have
|
||||
// been set up for each driver as an example of the required values.
|
||||
//
|
||||
// Supported Drivers: "local", "s3", "oss", "cos", "minio", "custom"
|
||||
// Supported Drivers: "local"
|
||||
"disks": map[string]any{
|
||||
"local": map[string]any{
|
||||
"driver": "local",
|
||||
"root": "/",
|
||||
"url": "http://localhost/",
|
||||
},
|
||||
"public": map[string]any{
|
||||
"driver": "local",
|
||||
"root": path.Storage("app/public"),
|
||||
"url": config.Env("APP_URL", "").(string) + "/storage",
|
||||
"root": "/www/panel/storage",
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user