From: Philipp Holzer Date: Fri, 4 May 2018 17:48:01 +0000 (+0200) Subject: using \PDO instead PDO (bugfix) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7e28e3e5f4f25989ac645adb006b30d3bb18100a;p=friendica.git using \PDO instead PDO (bugfix) --- diff --git a/src/Core/Install.php b/src/Core/Install.php index 4ebc663e80..65ef1db241 100644 --- a/src/Core/Install.php +++ b/src/Core/Install.php @@ -274,7 +274,7 @@ class Install extends BaseObject $ck_funcs[3]['status'] = false; $ck_funcs[3]['help'] = L10n::t('Error: PDO or MySQLi PHP module required but not installed.'); } - if (!function_exists('mysqli_connect') && class_exists('pdo') && !in_array('mysql', PDO::getAvailableDrivers())) { + if (!function_exists('mysqli_connect') && class_exists('pdo') && !in_array('mysql', \PDO::getAvailableDrivers())) { $ck_funcs[3]['status'] = false; $ck_funcs[3]['help'] = L10n::t('Error: The MySQL driver for PDO is not installed.'); }