1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-21 17:58:35 +00:00

Work on admin

This commit is contained in:
Unknown
2014-03-20 08:02:14 -04:00
parent 9f9cd6bfc6
commit 4cf6cc63b0
6 changed files with 10 additions and 14 deletions

View File

@@ -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() {