gosora/config.go
Azareal 12abd657e1 Added emojis. The emoji picker is coming soon, as is the font file. More emojis coming soon ^_^
Added the ability to ban and unban users.

Improved the installation instructions.
Changed the collation of the tables from utf8_general_ci to utf8mb4_general_ci.
Changed the group ID order.
Custom pages are now templates rather than little snippets being inserted into a template.
Changed the collation of the driver to utf8mb4_general_ci.
Added a default_group config setting.
Ban flag is overwritten for admins and super mods.
2016-12-08 14:11:18 +00:00

20 lines
522 B
Go

package main
// Database details
var dbhost = "127.0.0.1"
var dbuser = "root"
var dbpassword = "password"
var dbname = "grosolo"
var dbport = "3306" // You probably won't need to change this
// Limiters
var max_request_size = 5 * megabyte
// Misc
var default_route = route_topics
var default_group = 3
var staff_css = " background-color: #ffeaff;"
var uncategorised_forum_visible = true
var siteurl = "localhost:8080"
var noavatar = "https://api.adorable.io/avatars/285/{id}@" + siteurl + ".png"
var items_per_page = 50