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
Diffstat
(limited to 'models/models.go')
-rw-r--r--
models/models.go
2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index 8341f996..0f8fcac1 100644
--- a/
models/models.go
+++ b/
models/models.go
@@ -77,6 +77,8 @@ func setEngine() {
//x.ShowSQL = true
log.Trace("Initialized database -> %s", dbName)
+
+ RepoRootPath = utils.Cfg.MustValue("repository", "ROOT")
}
func init() {