index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
models
/
models.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Unknwon <u@gogs.io>
2015-09-16 23:08:46 -0400
committer
Unknwon <u@gogs.io>
2015-09-16 23:08:46 -0400
commit
e75fd2f783a413ae612e3e6110c912b3ecf9555d
(
patch
)
tree
969e7fc034c60db60695780b75815bbba17db7e8
/
models/models.go
parent
a517cfdf7b24514d7c1f6695dc175ce18c832465
(
diff
)
simplify names
Diffstat
(limited to 'models/models.go')
-rw-r--r--
models/models.go
2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go
index 5710930d..8149bb51 100644
--- a/
models/models.go
+++ b/
models/models.go
@@ -94,7 +94,7 @@ func init() {
}
}
-func LoadModelsConfig() {
+func LoadConfigs() {
sec := setting.Cfg.Section("database")
DbCfg.Type = sec.Key("DB_TYPE").String()
switch DbCfg.Type {