Merge pull request #94 from CrackerStealth/bugfix/incorrect-pdo-precheck
Updated PDO PostgreSQL Check
This commit is contained in:
commit
d2e3bc90d0
|
@ -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