LQPP/Installation/piraten-default-config

Aus Piratenwiki Mirror
Zur Navigation springen Zur Suche springen

config.absolute_base_url = "https://lqfb.piratenpartei.de/".. config.instance_prefix .. "/"


db = assert(mondelefant.connect{
 engine='postgresql',
 dbname='liquid_feedback_' .. config.instance_prefix
})
execute.config("default")
config.app_title = "PIRATEN Liquid Test (" .. config.instance_name .. ")"
config.app_logo = "logo.png"
config.app_service_provider = "Piratenpartei Deutschland (PIRATEN)
Pflugstr. 9a
10115 Berlin

E-Mail Support: <a href='mailto:support@lqfb.piratenpartei.de'>support@lqfb.piratenpartei.de</a>
E-Mail Administratoren: <a href='mailto:admins@lqfb.piratenpartei.de'>admins@lqfb.piratenpartei.de</a>

Diskussion, Support & FAQ: <a href='BE:Liquid_Democracy_Test'>[[BE:Liquid_Democracy_Test</a>"]]
config.formatting_engine_executeables = {
 rocketwiki= "/opt/liquid_feedback/rocketwiki/rocketwiki-lqfb",
 compat = "/opt/liquid_feedback/rocketwiki/rocketwiki-lqfb-compat"
}
config.mail_subject_prefix = "[lqfb.piratenpartei.de] "
config.mail_from = { name = "lqfb.piratenpartei.de", address =  "support@lqfb.piratenpartei.de" }
config.fastpath_url_func = function(member_id, image_type)
 return "https://lqfb.piratenpartei.de/" .. config.instance_prefix .. "/fastpath/getpic?" .. tostring(member_id) .. "+" .. tostring(image_type)
end
config.issue_discussion_url_func = function(issue)
 return "http://piratenpad.de/" .. string.upper(config.instance_prefix) ..  ":LiquidFeedback_Themendiskussion/" .. issue.id
end