Disallow duplicate storage paths (#26484)

Replace #26380
This commit is contained in:
Lunny Xiao authored and GitHub committed 2024-02-09 14:06:03 +00:00
1 parent c7a21cbb0c
commit 92fda9c5a2
7 files changed
+42 -20

No files matched your search

+4
View File
@@ -66,8 +66,12 @@ func init() {
AppWorkPath = filepath.Dir(AppPath)
}
fatalDuplicatedPath("app_work_path", AppWorkPath)
appWorkPathBuiltin = AppWorkPath
customPathBuiltin = CustomPath
fatalDuplicatedPath("custom_path", CustomPath)
customConfBuiltin = CustomConf
}