diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-27 16:39:36 +0800 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-27 16:39:36 +0800 |
commit | 9baf2b38d025eaf1d9bbb10a4616c71813ea7054 (patch) | |
tree | a6b8f31a638f2ca286e2c99e1c43c48e59e9c9c6 /routers/install.go | |
parent | 50de06056be67ab8433fa796608e38004f2e8733 (diff) | |
download | gitea-9baf2b38d025eaf1d9bbb10a4616c71813ea7054.tar.gz gitea-9baf2b38d025eaf1d9bbb10a4616c71813ea7054.zip |
Bug fix on organization
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go index c63ac6909c..3ac35f35c7 100644 --- a/routers/install.go +++ b/routers/install.go @@ -218,6 +218,8 @@ func InstallPost(ctx *middleware.Context, form auth.InstallForm) { setting.Cfg.SetValue("", "RUN_MODE", "prod") + setting.Cfg.SetValue("log", "MODE", "file") + setting.Cfg.SetValue("security", "INSTALL_LOCK", "true") os.MkdirAll("custom/conf", os.ModePerm) |