Ready to refix the volume things.

This commit is contained in:
zicla
2018-01-29 21:06:59 +08:00
parent dcf78ad6ef
commit 15a70aeadb
7 changed files with 62 additions and 35 deletions

View File

@ -345,7 +345,7 @@ func (this *AlienController) Download(writer http.ResponseWriter, request *http.
}
}
diskFile, err := os.Open(GetFilePath() + matter.Path)
diskFile, err := os.Open(CONFIG.MatterPath + matter.Path)
this.PanicError(err)
defer diskFile.Close()
// 防止中文乱码