]> source.dussan.org Git - gitea.git/commit
Write absolute AppDataPath to app.ini when installing (#25331)
authorwxiaoguang <wxiaoguang@gmail.com>
Sun, 18 Jun 2023 13:57:43 +0000 (21:57 +0800)
committerGitHub <noreply@github.com>
Sun, 18 Jun 2023 13:57:43 +0000 (13:57 +0000)
commit1ea6b8fd767f5378075de1097c1c1044a7696cd7
tree6e460bf50dfad2a4ad83ac9f3c88b8d4b26fdc80
parent1d92d0cf0f1799d6d6b167f9b0b5e8140b5d43ea
Write absolute AppDataPath to app.ini when installing (#25331)

If the APP_DATA_PATH isn't written into the config when installing, then
its value is uncertain because some Gitea command doesn't run with
correct WorkPath.

This is a quick fix for #25330  and can be backported.
routers/install/install.go