aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-09-17 22:07:50 +0200
committerMario Vavti <mario@mariovavti.com>2018-09-17 22:07:50 +0200
commita9e89d2fccc7884ad5e4de1b56320106dc3d3a03 (patch)
treef46ebbc3608932227ee376308fcd46c392287a8d
parent1455fa6bc3298ecfae4210410441bd072fd359eb (diff)
parentfdc89d1b8972c2bad896eb3d42086b0e91e3c01b (diff)
downloadvolse-hubzilla-a9e89d2fccc7884ad5e4de1b56320106dc3d3a03.tar.gz
volse-hubzilla-a9e89d2fccc7884ad5e4de1b56320106dc3d3a03.tar.bz2
volse-hubzilla-a9e89d2fccc7884ad5e4de1b56320106dc3d3a03.zip
Merge remote-tracking branch 'mike/master' into dev
-rw-r--r--Zotlabs/Module/Setup.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php
index 50b40834b..693f3309e 100644
--- a/Zotlabs/Module/Setup.php
+++ b/Zotlabs/Module/Setup.php
@@ -526,7 +526,7 @@ class Setup extends \Zotlabs\Web\Controller {
$ck_funcs[0]['status'] = false;
$ck_funcs[0]['help'] = t('Error: libCURL PHP module required but not installed.');
}
- if((! function_exists('imagecreatefromjpeg')) || (! class_exists('Imagick'))) {
+ if((! function_exists('imagecreatefromjpeg')) || (! class_exists('\\Imagick'))) {
$ck_funcs[1]['status'] = false;
$ck_funcs[1]['help'] = t('Error: GD PHP module with JPEG support or ImageMagick graphics library required but not installed.');
}
@@ -534,14 +534,14 @@ 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(class_exists('PDO')) {
- $x = PDO::getAvailableDrivers();
+ if(class_exists('\\PDO')) {
+ $x = \PDO::getAvailableDrivers();
if((! in_array('mysql',$x)) && (! in_array('pgsql',$x))) {
$ck_funcs[3]['status'] = false;
$ck_funcs[3]['help'] = t('Error: PDO database PHP module missing a driver for either mysql or pgsql.');
}
}
- if(! class_exists('PDO')) {
+ if(! class_exists('\\PDO')) {
$ck_funcs[3]['status'] = false;
$ck_funcs[3]['help'] = t('Error: PDO database PHP module required but not installed.');
}