mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-16 06:46:16 +01:00
f34f2c3141
Backport #26883
This change was caused by #26271, for configuration as below:
```
[attachment]
ENABLE = true
PATH = data/attachments
MAX_SIZE = 100
MAX_FILES = 5
```
Before #26271, the resolved path is ${AppWorkPath}/${attachments.PATH}
(such as `/var/lib/gitea/data/attachments`)
After #26271, the resolved path is ${AppDataPath}/${attachments.PATH}
(such as `/var/lib/gitea/data/data/attachments`)
Fix https://github.com/go-gitea/gitea/issues/26864 Follow
https://github.com/go-gitea/gitea/pull/26271
(cherry picked from commit
|
||
---|---|---|
.. | ||
_index.en-us.md | ||
_index.zh-cn.md | ||
_index.zh-tw.md | ||
adding-legal-pages.en-us.md | ||
adding-legal-pages.zh-cn.md | ||
backup-and-restore.en-us.md | ||
backup-and-restore.zh-cn.md | ||
backup-and-restore.zh-tw.md | ||
cmd-embedded.en-us.md | ||
cmd-embedded.zh-cn.md | ||
command-line.en-us.md | ||
command-line.zh-cn.md | ||
config-cheat-sheet.en-us.md | ||
config-cheat-sheet.zh-cn.md | ||
customizing-gitea.en-us.md | ||
customizing-gitea.zh-cn.md | ||
email-setup.en-us.md | ||
email-setup.zh-cn.md | ||
environment-variables.en-us.md | ||
environment-variables.zh-cn.md | ||
external-renderers.en-us.md | ||
external-renderers.zh-cn.md | ||
fail2ban-setup.en-us.md | ||
fail2ban-setup.zh-cn.md | ||
git-lfs-support.en-us.md | ||
git-lfs-support.zh-cn.md | ||
https-support.en-us.md | ||
https-support.zh-cn.md | ||
logging-config.en-us.md | ||
logging-config.zh-cn.md | ||
mail-templates.en-us.md | ||
mail-templates.zh-cn.md | ||
repo-indexer.en-us.md | ||
repo-indexer.zh-cn.md | ||
reverse-proxies.en-us.md | ||
reverse-proxies.zh-cn.md | ||
search-engines-indexation.en-us.md | ||
search-engines-indexation.zh-cn.md | ||
signing.en-us.md | ||
signing.zh-cn.md |