summaryrefslogtreecommitdiffstats
path: root/conf/app.ini
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-07-24 12:49:43 -0400
committerUnknwon <joe2010xtmf@163.com>2014-07-24 12:49:43 -0400
commitc20f5dc2ea1b27e80c28e00831278c7451ba6cce (patch)
tree85d1f32c36f962ad6338ec75e3a7a8ff8baf1905 /conf/app.ini
parenta41a1fe60da5b02891640dd5f99758015b78bcc9 (diff)
parentda0240aacd5646bd73b2e22d92d88578dbafd64b (diff)
downloadgitea-c20f5dc2ea1b27e80c28e00831278c7451ba6cce.tar.gz
gitea-c20f5dc2ea1b27e80c28e00831278c7451ba6cce.zip
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini12
1 files changed, 12 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 296509f721..96e320375b 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -180,6 +180,18 @@ SESSION_ID_HASHKEY =
SERVICE = server
DISABLE_GRAVATAR = false
+[attachment]
+; Whether attachments are enabled. Defaults to `true`
+ENABLE =
+; Path for attachments. Defaults to files/attachments
+PATH =
+; One or more allowed types, e.g. image/jpeg|image/png
+ALLOWED_TYPES =
+; Max size of each file. Defaults to 32MB
+MAX_SIZE
+; Max number of files per upload. Defaults to 10
+MAX_FILES =
+
[log]
ROOT_PATH =
; Either "console", "file", "conn", "smtp" or "database", default is "console"