summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-24 11:58:46 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-24 11:58:46 -0400
commit6337d3bf193491aeb9f6a03b260e7c7089c59f76 (patch)
treeb3ed0d0dce9dca3b0e0da5bb406926c7ac334902 /modules
parent414ebe75534e3ae6884b0e2e0c0ea7648a79b725 (diff)
downloadgitea-6337d3bf193491aeb9f6a03b260e7c7089c59f76.tar.gz
gitea-6337d3bf193491aeb9f6a03b260e7c7089c59f76.zip
Show dashbard
Diffstat (limited to 'modules')
-rw-r--r--modules/base/conf.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go
index b4e0de97bd..d3122a5339 100644
--- a/modules/base/conf.go
+++ b/modules/base/conf.go
@@ -100,7 +100,7 @@ func newService() {
Service.EnableCacheAvatar = Cfg.MustBool("service", "ENABLE_CACHE_AVATAR", false)
}
-func NewLogService() {
+func newLogService() {
// Get and check log mode.
LogMode = Cfg.MustValue("log", "MODE", "console")
modeSec := "log." + LogMode
@@ -296,7 +296,7 @@ func NewConfigContext() {
func NewServices() {
newService()
- NewLogService()
+ newLogService()
newCacheService()
newSessionService()
newMailService()