mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #6229 from SpiritLevel/patch-1
FIX: helperPath in _register_database.php
This commit is contained in:
commit
142878f14b
@ -11,7 +11,7 @@ DatabaseAdapterRegistry::register(
|
|||||||
'class' => 'MySQLDatabase',
|
'class' => 'MySQLDatabase',
|
||||||
'module' => 'framework',
|
'module' => 'framework',
|
||||||
'title' => 'MySQL 5.0+ (using MySQLi)',
|
'title' => 'MySQL 5.0+ (using MySQLi)',
|
||||||
'helperPath' => __DIR__ . '/dev/install/MySQLDatabaseConfigurationHelper.php',
|
'helperPath' => __DIR__ . '/Dev/Install/MySQLDatabaseConfigurationHelper.php',
|
||||||
'helperClass' => MySQLDatabaseConfigurationHelper::class,
|
'helperClass' => MySQLDatabaseConfigurationHelper::class,
|
||||||
'supported' => class_exists('MySQLi'),
|
'supported' => class_exists('MySQLi'),
|
||||||
'missingExtensionText' =>
|
'missingExtensionText' =>
|
||||||
@ -27,7 +27,7 @@ DatabaseAdapterRegistry::register(
|
|||||||
'class' => 'MySQLPDODatabase',
|
'class' => 'MySQLPDODatabase',
|
||||||
'module' => 'framework',
|
'module' => 'framework',
|
||||||
'title' => 'MySQL 5.0+ (using PDO)',
|
'title' => 'MySQL 5.0+ (using PDO)',
|
||||||
'helperPath' => __DIR__ . '/dev/install/MySQLDatabaseConfigurationHelper.php',
|
'helperPath' => __DIR__ . '/Dev/Install/MySQLDatabaseConfigurationHelper.php',
|
||||||
'helperClass' => MySQLDatabaseConfigurationHelper::class,
|
'helperClass' => MySQLDatabaseConfigurationHelper::class,
|
||||||
'supported' => (class_exists('PDO') && in_array('mysql', PDO::getAvailableDrivers())),
|
'supported' => (class_exists('PDO') && in_array('mysql', PDO::getAvailableDrivers())),
|
||||||
'missingExtensionText' =>
|
'missingExtensionText' =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user