mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
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:
parent
1b55ffaaf6
commit
c124e8c9f3
@ -11,10 +11,10 @@ DatabaseAdapterRegistry::register(array(
|
|||||||
'title' => 'PostgreSQL 8.3+ (using PDO)',
|
'title' => 'PostgreSQL 8.3+ (using PDO)',
|
||||||
'helperPath' => __DIR__.'/code/PostgreSQLDatabaseConfigurationHelper.php',
|
'helperPath' => __DIR__.'/code/PostgreSQLDatabaseConfigurationHelper.php',
|
||||||
'helperClass' => PostgreSQLDatabaseConfigurationHelper::class,
|
'helperClass' => PostgreSQLDatabaseConfigurationHelper::class,
|
||||||
'supported' => (class_exists('PDO') && in_array('postgresql', PDO::getAvailableDrivers())),
|
'supported' => (class_exists('PDO') && in_array('pgsql', PDO::getAvailableDrivers())),
|
||||||
'missingExtensionText' =>
|
'missingExtensionText' =>
|
||||||
'Either the <a href="http://www.php.net/manual/en/book.pdo.php">PDO Extension</a> or
|
'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.'
|
are unavailable. Please install or enable these and refresh this page.'
|
||||||
));
|
));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user