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
|
2016-12-08 14:11:18 +00:00
|
|
|
var default_group = 3
|
2016-12-21 02:30:32 +00:00
|
|
|
var activation_group = 5
|
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
|
|
|
|
var site_email = ""
|
|
|
|
var smtp_server = ""
|
2016-12-07 09:34:09 +00:00
|
|
|
var siteurl = "localhost:8080"
|
2016-12-08 14:11:18 +00:00
|
|
|
var noavatar = "https://api.adorable.io/avatars/285/{id}@" + siteurl + ".png"
|
2016-12-16 10:37:42 +00:00
|
|
|
var items_per_page = 50
|
|
|
|
|
|
|
|
// Developer flag
|
2016-12-18 12:56:06 +00:00
|
|
|
var debug = false
|