aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authort0rum <t0rum@dragon-land.ru>2022-02-26 19:15:02 +0000
committert0rum <t0rum@dragon-land.ru>2022-02-26 19:15:02 +0000
commitd384f55dd1d10bebfa9cf1ba41994b3b6cba4afe (patch)
tree4ca14219353b251bd89d31608a56809dd97b7e92 /Zotlabs
parent53c842c614ea60650f39f53cecaf8aef65f3ccb6 (diff)
downloadvolse-hubzilla-d384f55dd1d10bebfa9cf1ba41994b3b6cba4afe.tar.gz
volse-hubzilla-d384f55dd1d10bebfa9cf1ba41994b3b6cba4afe.tar.bz2
volse-hubzilla-d384f55dd1d10bebfa9cf1ba41994b3b6cba4afe.zip
Typo in Setup.php prevents users from using Postgres
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Setup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php
index 04b31e27b..f068cbef8 100644
--- a/Zotlabs/Module/Setup.php
+++ b/Zotlabs/Module/Setup.php
@@ -75,7 +75,7 @@ class Setup extends \Zotlabs\Web\Controller {
$siteurl = ((isset($_POST['siteurl'])) ? trim($_POST['siteurl']) : '');
if (empty($db_charset)) {
- $db_charset = ((intval($db_type) === 0) ? 'utf8mb4' : 'UTF8');
+ $db_charset = ((intval($dbtype) === 0) ? 'utf8mb4' : 'UTF8');
}
// $siteurl should not have a trailing slash
@@ -106,7 +106,7 @@ class Setup extends \Zotlabs\Web\Controller {
$siteurl = ((isset($_POST['siteurl'])) ? trim($_POST['siteurl']) : '');
if (empty($db_charset)) {
- $db_charset = ((intval($db_type) === 0) ? 'utf8mb4' : 'UTF8');
+ $db_charset = ((intval($dbtype) === 0) ? 'utf8mb4' : 'UTF8');
}
if($siteurl != z_root()) {