2016-03-13 20:35:51 +00:00
|
|
|
; Database configuration according to https://laravel.com/docs/5.2/database#introduction
|
2016-07-26 17:29:53 +00:00
|
|
|
; Put some here in advance, uncomment the one you need.
|
2015-05-11 22:20:19 +00:00
|
|
|
[database]
|
2016-07-29 19:31:36 +00:00
|
|
|
; ; mysql
|
|
|
|
; driver = mysql
|
|
|
|
; host = localhost
|
|
|
|
; port = 3306
|
|
|
|
; username = sakura
|
|
|
|
; password = password
|
|
|
|
; prefix = sakura_
|
|
|
|
; database = sakura-development
|
|
|
|
; charset = utf8
|
|
|
|
; collation = utf8_unicode_ci
|
|
|
|
|
|
|
|
; ; sqlite
|
|
|
|
; driver = sqlite
|
|
|
|
; database = sakura.sq3
|
|
|
|
; prefix = sakura_
|
|
|
|
|
|
|
|
; ; postgres
|
|
|
|
; driver = pgsql
|
|
|
|
; host = localhost
|
|
|
|
; port = 5432
|
|
|
|
; username = sakura
|
|
|
|
; password = password
|
|
|
|
; prefix = sakura_
|
|
|
|
; database = sakura-development
|
|
|
|
; charset = utf8
|
|
|
|
; schema = public
|
2016-03-13 20:35:51 +00:00
|
|
|
|
2016-07-26 17:29:53 +00:00
|
|
|
; General site settings
|
|
|
|
[general]
|
|
|
|
; Name of the site
|
|
|
|
name = Sakura
|
2015-05-11 22:20:19 +00:00
|
|
|
|
2016-07-29 19:31:36 +00:00
|
|
|
; Logo of the site
|
|
|
|
logo =
|
|
|
|
|
2016-07-27 15:37:44 +00:00
|
|
|
; Description of the site
|
|
|
|
description = Test site
|
|
|
|
|
2016-07-26 17:29:53 +00:00
|
|
|
; Design used by the site, must be a folder in templates/
|
|
|
|
design = yuuno
|
2015-05-11 22:20:19 +00:00
|
|
|
|
2016-07-26 17:29:53 +00:00
|
|
|
; Category to be used for site news
|
|
|
|
news = site-news
|
|
|
|
|
|
|
|
; Cover to be used when no other one is specified
|
|
|
|
cover =
|
2015-05-11 22:20:19 +00:00
|
|
|
|
2016-07-26 17:29:53 +00:00
|
|
|
; Close the site for maintenance
|
|
|
|
maintenance = false
|
2016-03-13 20:35:51 +00:00
|
|
|
|
2016-07-29 19:31:36 +00:00
|
|
|
; URL of the sakurako chat (full path) without trailing slash
|
|
|
|
chat = http://chat.localghost
|
|
|
|
|
2016-07-26 17:29:53 +00:00
|
|
|
; Cookie settings
|
|
|
|
[cookie]
|
|
|
|
prefix = sakura_
|
|
|
|
|
|
|
|
; Performance settings
|
|
|
|
[performance]
|
|
|
|
; Compress output using gzip, recommended to turn this off while debugging
|
|
|
|
compression = true
|
2015-05-11 22:20:19 +00:00
|
|
|
|
2016-07-26 17:29:53 +00:00
|
|
|
; Cache directory
|
|
|
|
cache_dir = cache/
|
2016-02-20 11:20:58 +00:00
|
|
|
|
2016-07-26 17:29:53 +00:00
|
|
|
; Enable template caching
|
|
|
|
template_cache = true
|
2016-02-20 11:20:58 +00:00
|
|
|
|
2016-07-26 17:29:53 +00:00
|
|
|
; Development specific settings
|
2015-12-04 14:19:10 +00:00
|
|
|
[dev]
|
2015-12-27 04:37:57 +00:00
|
|
|
; Show detailed error logs in browser
|
2016-07-26 17:29:53 +00:00
|
|
|
show_errors = false
|
2015-12-27 04:37:57 +00:00
|
|
|
|
|
|
|
; Show a small version of the changelog loaded from sakura.flash.moe
|
2016-07-26 17:29:53 +00:00
|
|
|
show_changelog = false
|
2016-03-25 01:31:57 +00:00
|
|
|
|
|
|
|
; Host for the mahou serve command
|
|
|
|
host = localhost:8000
|
2016-07-26 17:29:53 +00:00
|
|
|
|
|
|
|
; Mailing settings
|
|
|
|
[mail]
|
|
|
|
contact_address = sakura@localhost
|
|
|
|
signature = Sakura | http://localhost/
|
|
|
|
|
|
|
|
; SMTP settings
|
|
|
|
[mail.smtp]
|
|
|
|
auth = false
|
|
|
|
from = sakura-noreply@localhost
|
|
|
|
name = Sakura
|
|
|
|
reply_to = sakura-admin@localhost
|
|
|
|
reply_name = Administrator
|
|
|
|
username =
|
|
|
|
password =
|
|
|
|
server =
|
|
|
|
port = 25
|
2016-07-29 19:31:36 +00:00
|
|
|
secure = tls
|
2016-07-26 17:29:53 +00:00
|
|
|
|
|
|
|
; File settings
|
|
|
|
[file]
|
|
|
|
upload_dir = uploads/
|
|
|
|
|
|
|
|
; Avatar requirements
|
|
|
|
[file.avatar]
|
|
|
|
max_file_size = 2097152
|
|
|
|
max_height = 512
|
|
|
|
max_width = 512
|
|
|
|
|
|
|
|
; Background requirements
|
|
|
|
[file.background]
|
|
|
|
max_file_size = 5242880
|
|
|
|
max_height = 1440
|
|
|
|
max_width = 2560
|
|
|
|
|
|
|
|
; Cover requirements
|
|
|
|
[file.cover]
|
|
|
|
max_file_size = 2097152
|
|
|
|
max_height = 500
|
|
|
|
max_width = 2048
|
|
|
|
|
|
|
|
; User settings
|
|
|
|
[user]
|
2016-07-29 19:31:36 +00:00
|
|
|
; Avatars (relative to public/)
|
|
|
|
avatar_ban = images/%tplname%-ban.png
|
|
|
|
avatar_none = images/%tplname%-none.png
|
2016-07-26 17:29:53 +00:00
|
|
|
|
|
|
|
; Username constraints
|
|
|
|
name_min = 3
|
|
|
|
name_max = 16
|
|
|
|
|
|
|
|
; Disable registration, just in case
|
|
|
|
disable_registration = false
|
|
|
|
|
|
|
|
; Require the user to click a link in an e-mail sent to them
|
|
|
|
require_activation = true
|
|
|
|
|
|
|
|
; Minimum entropy value a password needs to have
|
|
|
|
pass_min_entropy = 1
|
|
|
|
|
|
|
|
; How long a username should be reserved in days
|
|
|
|
name_reserve = 90
|
|
|
|
|
|
|
|
; How long a user should be inactive till another person can use their name
|
|
|
|
name_takeover = 365
|
|
|
|
|
|
|
|
; Premium settings
|
|
|
|
[premium]
|
|
|
|
max_months_at_once = 24
|
|
|
|
price_per_month = 2.00
|
|
|
|
price_unit = EUR
|
|
|
|
|
|
|
|
; Paypal settings
|
|
|
|
[paypal]
|
|
|
|
mode = sandbox
|
|
|
|
client_id =
|
|
|
|
secret_id =
|
|
|
|
|
|
|
|
; Ranks ids
|
|
|
|
[rank]
|
|
|
|
inactive = 1
|
|
|
|
regular = 2
|
|
|
|
premium = 8
|
|
|
|
alumni = 9
|
|
|
|
banned = 10
|
|
|
|
|
|
|
|
; Forum settings
|
|
|
|
[forum]
|
|
|
|
max_post_length = 60000
|
|
|
|
min_post_length = 1
|
|
|
|
max_title_length = 128
|
|
|
|
min_title_length = 4
|
|
|
|
|
|
|
|
; Id of the trash forum
|
|
|
|
trash = 19
|
|
|
|
|
|
|
|
; Comment settings
|
|
|
|
[comments]
|
|
|
|
min_length = 500
|
|
|
|
min_length = 1
|