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