All configuration reload-able

This commit is contained in:
Unknown 2014-03-21 01:48:10 -04:00
parent 369ddf76a8
commit f6596f11c4
13 changed files with 88 additions and 45 deletions

View file

@ -148,7 +148,7 @@ func newRegisterMailService() {
log.Info("Register Mail Service Enabled")
}
func init() {
func NewConfigContext() {
var err error
workDir, err := exeDir()
if err != nil {