summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-08 12:41:33 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-08 12:41:33 -0400
commit115a349131242201953a3f5693141679049355c6 (patch)
tree5509a46e5d6866cd573c03a41484d58c12cb6cae /routers
parent22feddf804c7fbf3418cbbc8e7302da271da4e5a (diff)
downloadgitea-115a349131242201953a3f5693141679049355c6.tar.gz
gitea-115a349131242201953a3f5693141679049355c6.zip
Fix #67
Diffstat (limited to 'routers')
-rw-r--r--routers/install.go1
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
}