mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-18 15:02:43 +00:00
Code clean up for new config options
This commit is contained in:
1 parent
d0a0239bac
commit
15845cb287
17 files changed
+87
-110
No files matched your search
+1
-1
@@ -2557,7 +2557,7 @@ func (u *Upload) AfterSet(colName string, _ xorm.Cell) {
|
||||
|
||||
// UploadLocalPath returns where uploads is stored in local file system based on given UUID.
|
||||
func UploadLocalPath(uuid string) string {
|
||||
return path.Join(setting.UploadTempPath, uuid[0:1], uuid[1:2], uuid)
|
||||
return path.Join(setting.Repository.Upload.TempPath, uuid[0:1], uuid[1:2], uuid)
|
||||
}
|
||||
|
||||
// LocalPath returns where uploads are temporarily stored in local file system.
|
||||
|
||||
Reference in new issue
Block a user