diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-07-19 17:22:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-19 11:22:57 +0200 |
commit | 50e14699d3951ece4b9eb3f72cb266056e799f63 (patch) | |
tree | 28422db0087248b2144d7e137de2c46957107388 /modules | |
parent | 06df92b5af1afaedf3883c6aaf2ce9d219cbd089 (diff) | |
download | gitea-50e14699d3951ece4b9eb3f72cb266056e799f63.tar.gz gitea-50e14699d3951ece4b9eb3f72cb266056e799f63.zip |
Update path related documents (#25417)
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: Giteabot <teabot@gitea.io>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/setting/path.go | 2 |
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 |