mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 00:00:50 +00:00
fix: initialize enterprise database before hooks (#13247)
This commit is contained in:
+4
-1
@@ -2,5 +2,8 @@
|
||||
|
||||
package server
|
||||
|
||||
func InitOthers() {
|
||||
func InitOthersBeforeHook() {
|
||||
}
|
||||
|
||||
func InitOthersAfterHook() {
|
||||
}
|
||||
|
||||
@@ -46,8 +46,9 @@ func Start() {
|
||||
gob.Register(psession.SessionUser{})
|
||||
cron.Init()
|
||||
session.Init()
|
||||
InitOthersBeforeHook()
|
||||
hook.Init()
|
||||
InitOthers()
|
||||
InitOthersAfterHook()
|
||||
|
||||
proxy.Init()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user