Add config option: Picture cache path

This commit is contained in:
Unknown 2014-03-22 06:42:19 -04:00
parent 76cd448e79
commit 7a1ff8636c
4 changed files with 31 additions and 0 deletions

View file

@ -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