summaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-07-19 05:48:54 -0400
committerGitHub <noreply@github.com>2023-07-19 09:48:54 +0000
commitee47face12917555245fd84efc303702f45ebba9 (patch)
treed106bab070e38b638cd6a2262b6fe662b861acda /modules/setting
parent864bdd0ac8a597eaed5c59b31979a160b776ee2b (diff)
downloadgitea-ee47face12917555245fd84efc303702f45ebba9.tar.gz
gitea-ee47face12917555245fd84efc303702f45ebba9.zip
Update path related documents (#25417) (#25982)
Backport #25417 by @wxiaoguang Update WorkPath/WORK_PATH related documents, remove out-dated information. Remove "StaticRootPath" on the admin config display page, because few end user really need it, it only causes misconfiguration. ![image](https://github.com/go-gitea/gitea/assets/2114189/8095afa4-da76-436b-9e89-2a92c229c01d) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/path.go b/modules/setting/path.go
index 32ed8d81fa..0fdc305aa1 100644
--- a/modules/setting/path.go
+++ b/modules/setting/path.go
@@ -17,7 +17,7 @@ var (
// AppPath represents the path to the gitea binary
AppPath string
- // AppWorkPath is the "working directory" of Gitea. It maps to the environment variable GITEA_WORK_DIR.
+ // AppWorkPath is the "working directory" of Gitea. It maps to the: WORK_PATH in app.ini, "--work-path" flag, environment variable GITEA_WORK_DIR.
// If that is not set it is the default set here by the linker or failing that the directory of AppPath.
// It is used as the base path for several other paths.
AppWorkPath string