This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Absolute path for setting.CustomConf (
#2085
)
tags/v1.21.12.1
Ethan Koenig
Lunny Xiao
8 years ago
parent
12cb6cd3c9
commit
3c0705ecf3
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
modules/setting/setting.go
+ 2
- 0
modules/setting/setting.go
View File
@@ -595,6 +595,8 @@ func NewContext() {
if len(CustomConf) == 0 {
CustomConf = CustomPath + "/conf/app.ini"
} else if !filepath.IsAbs(CustomConf) {
CustomConf = filepath.Join(workDir, CustomConf)
}
if com.IsFile(CustomConf) {
Write
Preview
Loading…
Cancel
Save