mirror of https://github.com/mindoc-org/mindoc.git
pull/39/head
parent
7c51c3ae84
commit
3091e93e3e
|
@ -645,7 +645,7 @@ func RecursiveFun(parent_id int,prefix,dpath string,c *DocumentController,book
|
||||||
paths.PushBack(fpath)
|
paths.PushBack(fpath)
|
||||||
|
|
||||||
|
|
||||||
f, err := os.OpenFile(fpath, os.O_CREATE, 0777)
|
f, err := os.OpenFile(fpath, os.O_CREATE|os.O_RDWR, 0777)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
beego.Error(err)
|
beego.Error(err)
|
||||||
|
|
Loading…
Reference in New Issue