mirror of https://github.com/gogs/gogs.git
Introduce a `customDir` variable to store the custom template directory path, improving code readability and reducing redundancy in both `web.go` and `email.go`. This change ensures that the custom directory is consistently referenced throughout the configuration. |
||
---|---|---|
.. | ||
admin.go | ||
backup.go | ||
cert.go | ||
cmd.go | ||
hook.go | ||
import.go | ||
restore.go | ||
serv.go | ||
web.go |