mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-21 14:22:23 +08:00
Resolve #77
This commit is contained in:
parent
0374ded776
commit
cae85484fd
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ abstract class PdoAbstract
|
|||
public static function getAvailableDrivers() : array
|
||||
{
|
||||
return \class_exists('PDO', false)
|
||||
? \array_intersect(['mysql', 'sqlite', 'pgsql'], \PDO::getAvailableDrivers())
|
||||
? \array_values(\array_intersect(['mysql', 'pgsql', 'sqlite'], \PDO::getAvailableDrivers()))
|
||||
: [];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue