allow header and footer to be configured via env vars

This commit is contained in:
Henry Oswald 2016-06-09 16:21:54 +01:00
parent 6189ce9c16
commit e8fe3bc924

View file

@ -136,6 +136,14 @@ settings =
# address and http/https protocol information. # address and http/https protocol information.
behindProxy: process.env["SHARELATEX_BEHIND_PROXY"] or false behindProxy: process.env["SHARELATEX_BEHIND_PROXY"] or false
if process.env["SHARELATEX_LEFT_FOOTER"]
left_footer: process.env["SHARELATEX_LEFT_FOOTER"]
if process.env["SHARELATEX_RIGHT_FOOTER"]
right_footer: process.env["SHARELATEX_RIGHT_FOOTER"]
if process.env["SHARELATEX_HEADER"]
header: process.env["SHARELATEX_HEADER"]
# Spell Check Languages # Spell Check Languages
# --------------------- # ---------------------