diff --git a/.example/net/ghttp/server/reload/admin.go b/.example/net/ghttp/server/reload/admin.go index 94caa4040..a4147ccc8 100644 --- a/.example/net/ghttp/server/reload/admin.go +++ b/.example/net/ghttp/server/reload/admin.go @@ -6,6 +6,7 @@ import ( func main() { s := g.Server() + s.SetConfigWithMap(g.Map{"Graceful": true}) s.EnableAdmin() s.SetPort(8199) s.Run() diff --git a/i18n/gi18n/gi18n_manager.go b/i18n/gi18n/gi18n_manager.go index 745632877..e72171e1b 100644 --- a/i18n/gi18n/gi18n_manager.go +++ b/i18n/gi18n/gi18n_manager.go @@ -222,10 +222,10 @@ func (m *Manager) init() { } else if m.options.Path != "" { files, _ := gfile.ScanDirFile(m.options.Path, "*.*", true) if len(files) == 0 { - intlog.Printf( - "no i18n files found in configured directory: %s", - m.options.Path, - ) + //intlog.Printf( + // "no i18n files found in configured directory: %s", + // m.options.Path, + //) return } var (