mirror of https://github.com/mindoc-org/mindoc.git
pull/25/merge
parent
fddc6e94cd
commit
e6726562ce
6
main.go
6
main.go
|
@ -10,7 +10,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Println(os.Args[0])
|
|
||||||
commands.RegisterDataBase()
|
commands.RegisterDataBase()
|
||||||
commands.RegisterModel()
|
commands.RegisterModel()
|
||||||
commands.RegisterLogger()
|
commands.RegisterLogger()
|
||||||
|
@ -18,8 +18,8 @@ func main() {
|
||||||
commands.RegisterFunction()
|
commands.RegisterFunction()
|
||||||
|
|
||||||
beego.SetStaticPath("uploads","uploads")
|
beego.SetStaticPath("uploads","uploads")
|
||||||
|
|
||||||
|
fmt.Println(os.Args[0])
|
||||||
|
|
||||||
beego.Run()
|
beego.Run()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue