aboutsummaryrefslogtreecommitdiffstats
path: root/modules/doctor/paths.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/doctor/paths.go')
-rw-r--r--modules/doctor/paths.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/doctor/paths.go b/modules/doctor/paths.go
index 7b1c6ce9ad..d7bf2539e7 100644
--- a/modules/doctor/paths.go
+++ b/modules/doctor/paths.go
@@ -9,7 +9,6 @@ import (
"os"
"code.gitea.io/gitea/modules/log"
- "code.gitea.io/gitea/modules/options"
"code.gitea.io/gitea/modules/setting"
)
@@ -79,7 +78,7 @@ func checkConfigurationFiles(ctx context.Context, logger log.Logger, autofix boo
{"Log Root Path", setting.Log.RootPath, true, true, true},
}
- if options.IsDynamic() {
+ if !setting.HasBuiltinBindata {
configurationFiles = append(configurationFiles, configurationFile{"Static File Root Path", setting.StaticRootPath, true, true, false})
}