summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-12-20 22:51:16 -0500
committerUnknwon <joe2010xtmf@163.com>2014-12-20 22:51:16 -0500
commit79537467da16a6eb877df20f295a447037092903 (patch)
tree0a4b6f1a12fb95749f0128d149937fa30eba8500 /routers
parenta18decf4ccc9498f5fd394b03f77744bab89081b (diff)
downloadgitea-79537467da16a6eb877df20f295a447037092903.tar.gz
gitea-79537467da16a6eb877df20f295a447037092903.zip
mirror fix and update
Diffstat (limited to 'routers')
-rw-r--r--routers/install.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go
index df8a05651a..ddbe3ea36f 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -235,6 +235,8 @@ func InstallPost(ctx *middleware.Context, form auth.InstallForm) {
setting.Cfg.SetValue("", "RUN_MODE", "prod")
+ setting.Cfg.SetValue("session", "PROVIDER", "file")
+
setting.Cfg.SetValue("log", "MODE", "file")
setting.Cfg.SetValue("security", "INSTALL_LOCK", "true")