Fix tmp export file created in the wrong path
This commit is contained in:
parent
f019ae42bb
commit
03d818fd9f
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ import (
|
|||
)
|
||||
|
||||
func ExportUserData(s *xorm.Session, u *user.User) (err error) {
|
||||
exportDir := config.ServiceRootpath.GetString() + "/files/user-export-tmp/"
|
||||
exportDir := config.FilesBasePath.GetString() + "/user-export-tmp/"
|
||||
err = os.MkdirAll(exportDir, 0700)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue