summaryrefslogtreecommitdiffstats
path: root/cmd/serve.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2015-02-11 21:58:37 -0500
committerUnknwon <joe2010xtmf@163.com>2015-02-11 21:58:37 -0500
commit7e7160eefd6524013003d1c9668db4d358df5251 (patch)
tree4ca5963cfb5c0dbe8e806942cdf8d6997580a6f0 /cmd/serve.go
parentc5c467a9cd805c7cd0fb93f467e0205ee082cca3 (diff)
downloadgitea-7e7160eefd6524013003d1c9668db4d358df5251.tar.gz
gitea-7e7160eefd6524013003d1c9668db4d358df5251.zip
first pass work on migration #925
Diffstat (limited to 'cmd/serve.go')
-rw-r--r--cmd/serve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/serve.go b/cmd/serve.go
index 25f7dd9191..e957d45de7 100644
--- a/cmd/serve.go
+++ b/cmd/serve.go
@@ -43,7 +43,7 @@ func setup(logPath string) {
models.LoadModelsConfig()
- if models.UseSQLite3 {
+ if setting.UseSQLite3 {
workDir, _ := setting.WorkDir()
os.Chdir(workDir)
}