Now, the dump cmd uses setting.CustomPath and setting.LogRootPath instead of setting.WorkDir which was kind of broken if the gogs binary was in a different directory than gogs data. Additionally, the backup of setting.CustomPath directory is only done if it exists. |
||
|---|---|---|
| .. | ||
| cert_stub.go | ||
| cert.go | ||
| cmd.go | ||
| dump.go | ||
| serve.go | ||
| update.go | ||
| web.go | ||