2016-12-02 08:07:56 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
// Database details
|
2016-12-02 09:29:45 +00:00
|
|
|
var dbhost = "127.0.0.1"
|
2016-12-02 08:07:56 +00:00
|
|
|
var dbuser = "root"
|
|
|
|
var dbpassword = "password"
|
2016-12-11 16:06:17 +00:00
|
|
|
var dbname = "gosora"
|
2016-12-02 09:29:45 +00:00
|
|
|
var dbport = "3306" // You probably won't need to change this
|
2016-12-02 15:03:31 +00:00
|
|
|
|
|
|
|
// Limiters
|
2016-12-03 08:09:40 +00:00
|
|
|
var max_request_size = 5 * megabyte
|
|
|
|
|
|
|
|
// Misc
|
2016-12-04 06:16:59 +00:00
|
|
|
var default_route = route_topics
|
2017-01-03 07:47:31 +00:00
|
|
|
var default_group = 3 // Should be a setting
|
|
|
|
var activation_group = 5 // Should be a setting
|
2016-12-08 14:11:18 +00:00
|
|
|
var staff_css = " background-color: #ffeaff;"
|
2016-12-07 09:34:09 +00:00
|
|
|
var uncategorised_forum_visible = true
|
2016-12-16 10:37:42 +00:00
|
|
|
var enable_emails = false
|
2017-01-03 07:47:31 +00:00
|
|
|
var site_name = "Test Install" // Should be a setting
|
|
|
|
var site_email = "" // Should be a setting
|
2016-12-16 10:37:42 +00:00
|
|
|
var smtp_server = ""
|
2017-01-03 07:47:31 +00:00
|
|
|
//var noavatar = "https://api.adorable.io/avatars/{width}/{id}@{site_url}.png"
|
|
|
|
var noavatar = "https://api.adorable.io/avatars/285/{id}@" + site_url + ".png"
|
|
|
|
var items_per_page = 40 // Should be a setting
|
|
|
|
|
|
|
|
var site_url = "localhost:8080"
|
|
|
|
var server_port = "8080"
|
|
|
|
var enable_ssl = false
|
|
|
|
var ssl_privkey = ""
|
|
|
|
var ssl_fullchain = ""
|
2016-12-16 10:37:42 +00:00
|
|
|
|
|
|
|
// Developer flag
|
2017-01-03 07:47:31 +00:00
|
|
|
var debug = false
|