szurubooru/config.ini
Marcin Kurczewski 6c4affe454 Closed #10
2013-10-13 12:28:16 +02:00

62 lines
1.4 KiB
INI

[chibi]
userCodeDir=./src/
prettyPrint=1
[main]
dbPath=./db.sqlite
filesPath=./files/
thumbsPath=./thumbs/
mediaPath=./public_html/media/
title=szurubooru
[browsing]
postsPerPage=20
thumbWidth=140
thumbHeight=140
thumbStyle=outside
endlessScrolling=1
[registration]
emailActivation = 0
adminActivation = 0
passMinLength = 5
passRegex = "/^.+$/"
userNameMinLength = 3
userNameRegex = "/^[\w_-]+$/ui"
salt = "1A2/$_4xVa"
activationEmailSenderName = "{host} registration engine"
activationEmailSenderEmail = "noreply@{host}"
activationEmailSubject = "{host} activation"
activationEmailBody = "Hello,
You received this e-mail because someone registered an user with this address at {host}. If it's you, visit {link} to finish registration process, otherwise you may ignore and delete this e-mail.
Kind regards,
{host} registration engine"
[privileges]
uploadPost=registered
listPosts=anonymous
listPosts.sketchy=registered
listPosts.unsafe=registered
listPosts.hidden=nobody
listUsers=registered
viewPost=anonymous
viewPost.sketchy=registered
viewPost.unsafe=registered
viewPost.hidden=admin
retrievePost=anonymous
favoritePost=registered
editPostSafety.own=registered
editPostSafety.all=moderator
editPostTags.own=registered
editPostTags.all=registered
editPostThumb.own=moderator
editPostThumb.all=moderator
hidePost.own=moderator
hidePost.all=moderator
deletePost.own=moderator
deletePost.all=moderator
listComments=anonymous
listTags=anonymous