Merge branch 'master' into dist/eole/2.7.2/master
This commit is contained in:
commit
30f8c13791
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue