pouvoir forcer l'utilisation d'un theme (fixes #31090)

This commit is contained in:
2021-03-03 16:34:28 +01:00
parent 563cc48200
commit 97cf0a727b
3 changed files with 42 additions and 0 deletions

View File

@ -30,6 +30,15 @@ parameters:
%end if
initpwdadmin: %%getVar("ninegate_pwdadmin", '')
# Force theme
%if %%getVar("ninegate_forcetheme", 'non') == "oui"
force_theme: true
force_themename: %%ninegate_forcethemename
%else
force_theme: false
force_themename:
%end if
# Activation module
%if %%getVar("ninegate_activate_cron", 'non') == "oui"
cron_activate: true