]> WPIA git - infra.git/blobdiff - modules/quiz/templates/sq_config.epp
upd: move quiz to postgres
[infra.git] / modules / quiz / templates / sq_config.epp
index 35b0aad4203ae7c917e41f9bc7e841b3b0aec4d7..5d9fb89bf0415bebc8c56655f4f7024ae4fe4525 100644 (file)
@@ -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;