Skip to content

Commit 56d379d

Browse files
authored
Add pgsql option to use pgsql (hestiacp#3299)
* Support pgsql Co-authored-by: Stephen J Carnam <steveorevo@gmail.com>
1 parent d4ae2dc commit 56d379d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/src/app/System/HestiaApp.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ public function databaseAdd(
197197
string $dbname,
198198
string $dbuser,
199199
string $dbpass,
200+
string $dbtype = "mysql",
200201
string $charset = "utf8mb4",
201202
) {
202203
$v_password = tempnam("/tmp", "hst");
@@ -207,7 +208,7 @@ public function databaseAdd(
207208
$dbname,
208209
$dbuser,
209210
$v_password,
210-
"mysql",
211+
$dbtype,
211212
"localhost",
212213
$charset,
213214
]);

0 commit comments

Comments
 (0)