X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=modules%2Fquiz%2Ftemplates%2Fsq_config.epp;h=5d9fb89bf0415bebc8c56655f4f7024ae4fe4525;hb=4ac24a174e51d519f5d49690b48e503caf0080e5;hp=35b0aad4203ae7c917e41f9bc7e841b3b0aec4d7;hpb=417ce970216bcb6221d2e7335e89c65083cdecc5;p=infra.git diff --git a/modules/quiz/templates/sq_config.epp b/modules/quiz/templates/sq_config.epp index 35b0aad..5d9fb89 100644 --- a/modules/quiz/templates/sq_config.epp +++ b/modules/quiz/templates/sq_config.epp @@ -3,4 +3,7 @@ $sq_hostname='localhost'; $sq_dbname='quiz'; $sq_dbusername='quiz'; - $sq_dbpassword='<%=$passwords[quiz-mysql][quiz]%>'; + $sq_dbpassword='<%=$passwords[postgres][quiz]%>'; + $sq_dbdriver='pdo'; + $sq_dbport='5432'; + $sq_dbdsn='pgsql:host=' . $sq_hostname .';port=' .$sq_dbport .';dbname=' . $sq_dbname;