diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-08 12:41:33 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-08 12:41:33 -0400 |
commit | 115a349131242201953a3f5693141679049355c6 (patch) | |
tree | 5509a46e5d6866cd573c03a41484d58c12cb6cae /routers | |
parent | 22feddf804c7fbf3418cbbc8e7302da271da4e5a (diff) | |
download | gitea-115a349131242201953a3f5693141679049355c6.tar.gz gitea-115a349131242201953a3f5693141679049355c6.zip |
Fix #67
Diffstat (limited to 'routers')
-rw-r--r-- | routers/install.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go index 1c4e6181d5..b9e8bb2907 100644 --- a/routers/install.go +++ b/routers/install.go @@ -27,6 +27,7 @@ func checkRunMode() { switch base.Cfg.MustValue("", "RUN_MODE") { case "prod": martini.Env = martini.Prod + base.IsProdMode = true case "test": martini.Env = martini.Test } |