]> git.mxchange.org Git - friendica.git/commitdiff
using \PDO instead PDO (bugfix)
authorPhilipp Holzer <admin@philipp.info>
Fri, 4 May 2018 17:48:01 +0000 (19:48 +0200)
committerPhilipp Holzer <admin@philipp.info>
Fri, 4 May 2018 17:48:01 +0000 (19:48 +0200)
src/Core/Install.php

index 4ebc663e808ccb806e8aa0104222460751b00ecb..65ef1db2417d4ca23eb4e86adec546fe3c43ebca 100644 (file)
@@ -274,7 +274,7 @@ class Install extends BaseObject
                        $ck_funcs[3]['status'] = false;\r
                        $ck_funcs[3]['help'] = L10n::t('Error: PDO or MySQLi PHP module required but not installed.');\r
                }\r
-               if (!function_exists('mysqli_connect') && class_exists('pdo') && !in_array('mysql', PDO::getAvailableDrivers())) {\r
+               if (!function_exists('mysqli_connect') && class_exists('pdo') && !in_array('mysql', \PDO::getAvailableDrivers())) {\r
                        $ck_funcs[3]['status'] = false;\r
                        $ck_funcs[3]['help'] = L10n::t('Error: The MySQL driver for PDO is not installed.');\r
                }\r