szurubooru/config.ini
Marcin Kurczewski 91776a3e54 Closed #30
2013-10-19 13:38:20 +02:00

94 lines
2.1 KiB
INI

[chibi]
userCodeDir=./src/
prettyPrint=1
[main]
dbPath=./db.sqlite
filesPath=./files/
thumbsPath=./thumbs/
mediaPath=./public_html/media/
title=szurubooru
featuredPostMaxDays=7
debugQueries=0
[browsing]
usersPerPage=8
postsPerPage=20
thumbWidth=140
thumbHeight=140
thumbStyle=outside
endlessScrolling=1
maxSearchTokens=4
[comments]
minLength = 5
maxLength = 2000
commentsPerPage = 20
[registration]
staffActivation = 0
passMinLength = 5
passRegex = "/^.+$/"
userNameMinLength = 3
userNameRegex = "/^[\w_-]+$/ui"
salt = "1A2/$_4xVa"
needEmailForRegistering = 1
needEmailForCommenting = 0
needEmailForUploading = 1
confirmationEmailEnabled = 1
confirmationEmailSenderName = "{host} registration engine"
confirmationEmailSenderEmail = "noreply@{host}"
confirmationEmailSubject = "{host} activation"
confirmationEmailBody = "Hello,
You received this e-mail because someone registered a 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
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
featurePost=moderator
listUsers=registered
viewUser=registered
viewUserEmail=admin
changeUserPassword.own=registered
changeUserPassword.all=admin
changeUserEmail.own=registered
changeUserEmail.all=admin
changeUserAccessRank=admin
changeUserName=moderator
acceptUserRegistration=moderator
banUser.own=nobody
banUser.all=admin
deleteUser.own=registered
deleteUser.all=nobody
listComments=anonymous
addComment=registered
deleteComment.self=registered
deleteComment.all=moderator
listTags=anonymous