diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-20 08:02:14 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-20 08:02:14 -0400 |
commit | 4cf6cc63b0679aaf5fe8b74a2aaf0bd92b1f12d3 (patch) | |
tree | 180c744071a0898a415579613379c6a7f80e8bc8 /modules/base/conf.go | |
parent | 9f9cd6bfc61d82ee0a3d31cee112be7975b8ca86 (diff) |
Work on admin
Diffstat (limited to 'modules/base/conf.go')
-rw-r--r-- | modules/base/conf.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go index c904c5b3..fdbf3ad3 100644 --- a/modules/base/conf.go +++ b/modules/base/conf.go @@ -32,7 +32,6 @@ var ( AppUrl string Domain string SecretKey string - AdminName string Cfg *goconfig.ConfigFile MailService *Mailer ) @@ -174,7 +173,6 @@ func init() { AppUrl = Cfg.MustValue("server", "ROOT_URL") Domain = Cfg.MustValue("server", "DOMAIN") SecretKey = Cfg.MustValue("security", "SECRET_KEY") - AdminName = strings.ToLower(Cfg.MustValue("admin", "NAME")) } func NewServices() { |