Merge branch 'master' into dist/eole/2.7.2/master

This commit is contained in:
Philippe Caseiro 2021-03-01 17:35:36 +01:00
commit 30f8c13791
1 changed files with 2 additions and 2 deletions

View File

@ -60,12 +60,12 @@ DB_TYPE = mysql
%set %%dbMode = %%getVar("gitea_db_mode") %set %%dbMode = %%getVar("gitea_db_mode")
%if %%dbMode == "default" %if %%dbMode == "default"
%if %%edb_local == "oui" %if %%edb_local == "oui"
HOST = 127.0.0.1:3306 HOST = /var/run/mysqld/mysqld.sock
%else %else
HOST = %%{edb_host}:%%{edb_port} HOST = %%{edb_host}:%%{edb_port}
%end if %end if
%elif %%dbMode == "local" %elif %%dbMode == "local"
HOST = 127.0.0.1:3306 HOST = /var/run/mysqld/mysqld.sock
%elif %%dbMode == "externe" %elif %%dbMode == "externe"
HOST = %%{gitea_dbserver}:%%{gitea_dbport} HOST = %%{gitea_dbserver}:%%{gitea_dbport}
%end if %end if