Updated PDO PostgreSQL Check

The pre-check for PostgreSQL needs to look for pgsql and changed the
error text to link to the PostgreSQL PDO documentation instead of the
Microsoft SQL Server documentation.
This commit is contained in:
Chris Graham 2019-04-11 16:59:30 -06:00
parent 1b55ffaaf6
commit c124e8c9f3
1 changed files with 2 additions and 2 deletions

View File

@ -11,10 +11,10 @@ DatabaseAdapterRegistry::register(array(
'title' => 'PostgreSQL 8.3+ (using PDO)',
'helperPath' => __DIR__.'/code/PostgreSQLDatabaseConfigurationHelper.php',
'helperClass' => PostgreSQLDatabaseConfigurationHelper::class,
'supported' => (class_exists('PDO') && in_array('postgresql', PDO::getAvailableDrivers())),
'supported' => (class_exists('PDO') && in_array('pgsql', PDO::getAvailableDrivers())),
'missingExtensionText' =>
'Either the <a href="http://www.php.net/manual/en/book.pdo.php">PDO Extension</a> or
the <a href="http://www.php.net/manual/en/ref.pdo-sqlsrv.php">SQL Server PDO Driver</a>
the <a href="http://www.php.net/manual/en/ref.pdo-pgsql.php">PostgreSQL PDO Driver</a>
are unavailable. Please install or enable these and refresh this page.'
));