mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-14 11:20:53 +08:00
fix: 修复邮箱配置无法从环境变量读取的问题
This commit is contained in:
@@ -28,6 +28,6 @@ if (! function_exists('admin_setting')) {
|
||||
return;
|
||||
}
|
||||
$default = config('v2board.'. $key) ?? $default;
|
||||
return app('setting')->get($key, $default) ;
|
||||
return app('setting')->get($key) ?? $default ;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user