summaryrefslogtreecommitdiffstats
path: root/conf/app.ini
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-22 06:42:19 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-22 06:42:19 -0400
commit7a1ff8636c01844a501dd9cdca2c436d1b7826b7 (patch)
tree80391757c6ed9f704c7b6eb0bd875b6ddd9b2898 /conf/app.ini
parent76cd448e7925997b60a54e8d9431ffd0826cc24e (diff)
downloadgitea-7a1ff8636c01844a501dd9cdca2c436d1b7826b7.tar.gz
gitea-7a1ff8636c01844a501dd9cdca2c436d1b7826b7.zip
Add config option: Picture cache path
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index ecb0d2511f..cf99c9da09 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -44,6 +44,8 @@ REGISTER_EMAIL_CONFIRM = false
DISENABLE_REGISTERATION = false
; User must sign in to view anything.
REQUIRE_SIGNIN_VIEW = false
+; Cache avatar as picture
+ENABLE_CACHE_AVATAR = false
[mailer]
ENABLED = false
@@ -70,6 +72,12 @@ INTERVAL = 60
; memcache: "127.0.0.1:11211"
HOST =
+[picture]
+; The place to picture data, either "server" or "qiniu", default is "server"
+SERVICE = server
+; For "server" only, root path of picture data, default is "data/pictures"
+PATH = data/pictures
+
[log]
; Either "console", "file", "conn" or "smtp", default is "console"
MODE = console