pull/39/head
Minho 2017-05-11 17:15:56 +08:00
parent 7c51c3ae84
commit 3091e93e3e
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ func RecursiveFun(parent_id int,prefix,dpath string,c *DocumentController,book
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 {
beego.Error(err)