correction template

This commit is contained in:
Arnaud Fornerot 2022-02-09 10:06:20 +01:00
parent f8290a2adc
commit ca594730ea
1 changed files with 6 additions and 6 deletions

View File

@ -1,10 +1,10 @@
--- ---
%set dmode = %%getVar('nineskeletor_db_mode','non') %set dmode = %%getVar('ninebadge_db_mode','non')
%if %%dmode == "externe" %if %%dmode == "externe"
dbhost: %%nineskeletor_dbserver dbhost: %%ninebadge_dbserver
dbport: %%nineskeletor_dbport dbport: %%ninebadge_dbport
dbroot: %%nineskeletor_dbuser dbroot: %%ninebadge_dbuser
dbrootpwd: %%nineskeletor_dbpass dbrootpwd: %%ninebadge_dbpass
%else if %%dmode == "local" %else if %%dmode == "local"
dbhost: 127.0.0.1 dbhost: 127.0.0.1
%end if %end if
@ -12,7 +12,7 @@ dbtype: mysql
dbname: ninebadge dbname: ninebadge
dbuser: ninebadge dbuser: ninebadge
dbpass: "changeme" dbpass: "changeme"
%set allow_hosts = %%getVar('nineskeletor_allow_hosts', '') %set allow_hosts = %%getVar('ninebadge_allow_hosts', '')
%if %%dmode == "local" %if %%dmode == "local"
client_hosts: ["127.0.0.1", "localhost" %slurp client_hosts: ["127.0.0.1", "localhost" %slurp
%else if %%dmode == "externe" %else if %%dmode == "externe"