Add config option: Picture cache path
This commit is contained in:
parent
76cd448e79
commit
7a1ff8636c
4 changed files with 31 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue