diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-10-30 15:54:46 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-10-30 15:54:46 +0100 |
commit | db6a207afebbb44734026290fadc3836adf522ec (patch) | |
tree | 89ab0bda69faff9bc534471ab48f7ff95e4695b9 /Zotlabs/Module | |
parent | 9b42bc860da9a1540603d8705b4c55a219c401a2 (diff) | |
parent | 6174aa01e0e5fc72b0a5c843ff4a75709e9038f9 (diff) | |
download | volse-hubzilla-db6a207afebbb44734026290fadc3836adf522ec.tar.gz volse-hubzilla-db6a207afebbb44734026290fadc3836adf522ec.tar.bz2 volse-hubzilla-db6a207afebbb44734026290fadc3836adf522ec.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Setup.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php index 18a20885b..fde9fe823 100644 --- a/Zotlabs/Module/Setup.php +++ b/Zotlabs/Module/Setup.php @@ -501,7 +501,7 @@ class Setup extends \Zotlabs\Web\Controller { $this->check_add($ck_funcs, t('libCurl PHP module'), true, true); $this->check_add($ck_funcs, t('GD graphics PHP module'), true, true); $this->check_add($ck_funcs, t('OpenSSL PHP module'), true, true); - $this->check_add($ck_funcs, t('mysqli or postgres PHP module'), true, true); + $this->check_add($ck_funcs, t('PDO database PHP module'), true, true); $this->check_add($ck_funcs, t('mb_string PHP module'), true, true); $this->check_add($ck_funcs, t('xml PHP module'), true, true); @@ -531,9 +531,9 @@ class Setup extends \Zotlabs\Web\Controller { $ck_funcs[2]['status'] = false; $ck_funcs[2]['help'] = t('Error: openssl PHP module required but not installed.'); } - if(! function_exists('mysqli_connect') && !function_exists('pg_connect')) { + if(! class_exists('PDO')) { $ck_funcs[3]['status'] = false; - $ck_funcs[3]['help'] = t('Error: mysqli or postgres PHP module required but neither are installed.'); + $ck_funcs[3]['help'] = t('Error: PDO database PHP module required but not installed.'); } if(! function_exists('mb_strlen')) { $ck_funcs[4]['status'] = false; |