mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-20 19:07:56 +08:00
fix:修复beego使用file储存session时存在的路径BUG
This commit is contained in:
@@ -44,12 +44,15 @@ func (d *Daemon) Start(s service.Service) error {
|
||||
|
||||
func (d *Daemon) Run() {
|
||||
|
||||
|
||||
commands.ResolveCommand(d.config.Arguments)
|
||||
|
||||
commands.RegisterFunction()
|
||||
|
||||
commands.RegisterAutoLoadConfig()
|
||||
|
||||
commands.RegisterError()
|
||||
|
||||
beego.ErrorController(&controllers.ErrorController{})
|
||||
|
||||
f,err := filepath.Abs(os.Args[0])
|
||||
|
Reference in New Issue
Block a user