summaryrefslogtreecommitdiffstats
path: root/modules/doctor/paths.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/doctor/paths.go')
-rw-r--r--modules/doctor/paths.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/doctor/paths.go b/modules/doctor/paths.go
index ad50078d3e..7b1c6ce9ad 100644
--- a/modules/doctor/paths.go
+++ b/modules/doctor/paths.go
@@ -67,7 +67,8 @@ func checkConfigurationFiles(ctx context.Context, logger log.Logger, autofix boo
return err
}
- setting.LoadFromExisting()
+ setting.InitProviderFromExistingFile()
+ setting.LoadCommonSettings()
configurationFiles := []configurationFile{
{"Configuration File Path", setting.CustomConf, false, true, false},
@@ -75,7 +76,7 @@ func checkConfigurationFiles(ctx context.Context, logger log.Logger, autofix boo
{"Data Root Path", setting.AppDataPath, true, true, true},
{"Custom File Root Path", setting.CustomPath, true, false, false},
{"Work directory", setting.AppWorkPath, true, true, false},
- {"Log Root Path", setting.LogRootPath, true, true, true},
+ {"Log Root Path", setting.Log.RootPath, true, true, true},
}
if options.IsDynamic() {