summaryrefslogtreecommitdiffstats
path: root/modules/setting/f3.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/f3.go')
-rw-r--r--modules/setting/f3.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/setting/f3.go b/modules/setting/f3.go
index 8a66d68fc6..8669b70562 100644
--- a/modules/setting/f3.go
+++ b/modules/setting/f3.go
@@ -15,6 +15,10 @@ var (
}
)
+func LoadF3Setting() {
+ loadF3From(CfgProvider)
+}
+
func loadF3From(rootCfg ConfigProvider) {
if err := rootCfg.Section("F3").MapTo(&F3); err != nil {
log.Fatal("Failed to map F3 settings: %v", err)