liquid_feedback_frontend
changeset 1648:1335379a85d2
Added missing default config values
author | bsw |
---|---|
date | Thu Feb 11 15:45:56 2021 +0100 (2021-02-11) |
parents | 123eb46b4d3e |
children | 4188405c2425 |
files | app/main/_prefork/10_init.lua |
line diff
1.1 --- a/app/main/_prefork/10_init.lua Wed Feb 10 00:30:53 2021 +0100 1.2 +++ b/app/main/_prefork/10_init.lua Thu Feb 11 15:45:56 2021 +0100 1.3 @@ -132,6 +132,32 @@ 1.4 config.database = { engine='postgresql', dbname='liquid_feedback' } 1.5 end 1.6 1.7 +if not config.formatting_engines then 1.8 + config.enforce_formatting_engine = "html" 1.9 + config.formatting_engines = { 1.10 + { id = "html", 1.11 + name = "html", 1.12 + executable = "cat" 1.13 + } 1.14 + } 1.15 +end 1.16 + 1.17 +if not config.style then 1.18 + config.style = { 1.19 + color_md = { 1.20 + primary = "green", 1.21 + primary_contrast = "dark", 1.22 + accent = "blue", 1.23 + accent_contrast = "dark" 1.24 + } 1.25 + } 1.26 +end 1.27 + 1.28 +if not config.member_profile_fields then 1.29 + config.member_profile_fields = {} 1.30 +end 1.31 + 1.32 + 1.33 if config.fork == nil then 1.34 config.fork = {} 1.35 end