diff options
author | zeripath <art27@cantab.net> | 2022-06-06 15:43:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-06 10:43:17 -0400 |
commit | c48706ecde14a536e77a5340475f1a66b274c0aa (patch) | |
tree | fe18adc1dbdfa2a83c5f046f768b4434916d8ae1 /cmd/web_acme.go | |
parent | 26095115f4ae90e3fdc6ab695978efd16e317f75 (diff) | |
download | gitea-c48706ecde14a536e77a5340475f1a66b274c0aa.tar.gz gitea-c48706ecde14a536e77a5340475f1a66b274c0aa.zip |
Make AppDataPath absolute against the AppWorkPath if it is not (#19815)
* Make AppDataPath absolute against the AppWorkPath if it is not
There are multiple repeated issues whereby a non-absolute provided
APP_DATA_PATH causes strange issues.
This PR simply absolutes the APP_DATA_PATH against the AppWorkPath if
its not so. It also ensures that AppWorkPath is also always absolute.
Ref #19367
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add logging
Signed-off-by: Andrew Thornton <art27@cantab.net>
* absolute workpath against pwd instead of app path first
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'cmd/web_acme.go')
0 files changed, 0 insertions, 0 deletions