diff options
author | Unknwon <joe2010xtmf@163.com> | 2015-02-11 21:58:37 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2015-02-11 21:58:37 -0500 |
commit | 7e7160eefd6524013003d1c9668db4d358df5251 (patch) | |
tree | 4ca5963cfb5c0dbe8e806942cdf8d6997580a6f0 /cmd/serve.go | |
parent | c5c467a9cd805c7cd0fb93f467e0205ee082cca3 (diff) | |
download | gitea-7e7160eefd6524013003d1c9668db4d358df5251.tar.gz gitea-7e7160eefd6524013003d1c9668db4d358df5251.zip |
first pass work on migration #925
Diffstat (limited to 'cmd/serve.go')
-rw-r--r-- | cmd/serve.go | 2 |
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) } |