mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
BUGFIX If SS_DATABASE_CLASS is set to a database that doesn't exist, don't break the installer but fallback to MySQL (from r99598)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112180 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3cb0146e36
commit
08262a9b38
@ -577,6 +577,7 @@ class InstallRequirements {
|
||||
*/
|
||||
function getDatabaseConfigurationHelper($databaseClass) {
|
||||
$class = $databaseClass . 'ConfigurationHelper';
|
||||
return (class_exists($class)) ? new $class() : new MySQLDatabaseConfigurationHelper();
|
||||
return new $class();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user