; Database configuration according to https://laravel.com/docs/5.2/database#introduction ; Put some here in advance, uncomment the one you need. [database] ; ; 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.db3 ; ; Although the option exists, setting a table prefix for sqlite breaks some migration related things. ; prefix = ; ; postgres ; driver = pgsql ; host = localhost ; port = 5432 ; username = sakura ; password = password ; prefix = sakura_ ; database = sakura-development ; charset = utf8 ; schema = public ; General site settings [general] ; Name of the site name = Sakura ; Logo of the site logo = ; Description of the site description = Test site ; Design used by the site, must be a folder in resources/views/ design = yuuno ; Categories displayed on the front page, comma separated homepage-news = 1 ; Cover to be used when no other one is specified cover = ; Close the site for maintenance maintenance = false ; Date formatting string date_format = D Y-m-d H:i:s T ; Cookie settings [cookie] prefix = sakura_ ; Performance settings [performance] ; Compress output using gzip, recommended to turn this off while debugging compression = true ; Cache directory cache_dir = store/cache/ ; Enable template caching template_cache = true ; Enable forum caching forum_cache = true ; Development specific settings [dev] ; Show detailed error logs in browser show_errors = false ; Enable twig (the templating engine) debug mode twig_debug = false ; Host for the mahou serve command host = localhost:8000 ; Host for dumping exceptions, sends the exception as a json object in a raw post request. Leave empty to disable. report_host = ; 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 secure = tls ; File settings [file] uploads_dir = store/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 ; Header requirements [file.header] max_file_size = 2097152 max_height = 500 max_width = 2048 ; User settings [user] ; Default avatar, background and header (relative to public/) avatar_none = images/%tplname%-none.png background_none = images/pixel.png header_none = images/pixel.png ; 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 ; Max length of a signature signature_max = 500 ; Max length of a userpage page_max = 65535 ; After how long last listened should be updated music_update = 10 ; 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, these ranks are used by automated procedures in the backend ; If you're using the setup command in mahou these are already set correctly for you! [rank] regular = 1 mod = 2 admin = 3 bot = 4 premium = 5 alumni = 6 banned = 7 ; Forum settings [forum] max_post_length = 60000 min_post_length = 1 max_title_length = 128 min_title_length = 4 ; Id of the trash forum ; See second comment of the ranks category trash = 4 ; Comment settings [comments] max_length = 500 min_length = 1 ; Content for the contact page, the variables function like a normal associative array [contact] mail['Administrator'] = me@flash.moe twit['smugwave'] = "Sakura's main developer" repo['Sakura'] = https://github.com/flashwave/sakura ; Status settings [status] ; Format: ; check['display name'] = "address/port/protocol" ; protocol only really matters if you're pinging to http or https ; in which case it should be set to the respective value check['flash.moe http'] = "flash.moe/80/http" check['flash.moe https'] = "flash.moe/443/https" ; LastFM settings [lastfm] api_key =