# HG changeset patch # User bsw # Date 1613054756 -3600 # Node ID 1335379a85d2f173de78cc32f987e51bb09324a4 # Parent 123eb46b4d3e2a4ea0ef7091591326c58da05156 Added missing default config values diff -r 123eb46b4d3e -r 1335379a85d2 app/main/_prefork/10_init.lua --- a/app/main/_prefork/10_init.lua Wed Feb 10 00:30:53 2021 +0100 +++ b/app/main/_prefork/10_init.lua Thu Feb 11 15:45:56 2021 +0100 @@ -132,6 +132,32 @@ config.database = { engine='postgresql', dbname='liquid_feedback' } end +if not config.formatting_engines then + config.enforce_formatting_engine = "html" + config.formatting_engines = { + { id = "html", + name = "html", + executable = "cat" + } + } +end + +if not config.style then + config.style = { + color_md = { + primary = "green", + primary_contrast = "dark", + accent = "blue", + accent_contrast = "dark" + } + } +end + +if not config.member_profile_fields then + config.member_profile_fields = {} +end + + if config.fork == nil then config.fork = {} end