ENHANCEMENT Installer exposes database type in "Database support" configuration (from r112247)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112432 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
sminnee 2010-10-15 01:22:10 +00:00
parent 5dc52e9569
commit d2bcf47aba

View File

@ -232,7 +232,8 @@ class InstallRequirements {
array(
"Database Configuration",
"Database support",
"Database support in PHP"
"Database support in PHP",
$this->getDatabaseTypeNice($databaseConfig['type'])
)
)) {
if($this->requireDatabaseServer(
@ -258,7 +259,7 @@ class InstallRequirements {
"Database Configuration",
"Database server meets required version",
'',
$this->getDatabaseTypeNice($databaseConfig['type']) . ' ' . $this->getDatabaseConfigurationHelper($databaseConfig['type'])->getDatabaseVersion($databaseConfig)
'Version ' . $this->getDatabaseConfigurationHelper($databaseConfig['type'])->getDatabaseVersion($databaseConfig)
)
)) {
$this->requireDatabaseOrCreatePermissions(