mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
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:
parent
5dc52e9569
commit
d2bcf47aba
@ -232,7 +232,8 @@ class InstallRequirements {
|
|||||||
array(
|
array(
|
||||||
"Database Configuration",
|
"Database Configuration",
|
||||||
"Database support",
|
"Database support",
|
||||||
"Database support in PHP"
|
"Database support in PHP",
|
||||||
|
$this->getDatabaseTypeNice($databaseConfig['type'])
|
||||||
)
|
)
|
||||||
)) {
|
)) {
|
||||||
if($this->requireDatabaseServer(
|
if($this->requireDatabaseServer(
|
||||||
@ -258,7 +259,7 @@ class InstallRequirements {
|
|||||||
"Database Configuration",
|
"Database Configuration",
|
||||||
"Database server meets required version",
|
"Database server meets required version",
|
||||||
'',
|
'',
|
||||||
$this->getDatabaseTypeNice($databaseConfig['type']) . ' ' . $this->getDatabaseConfigurationHelper($databaseConfig['type'])->getDatabaseVersion($databaseConfig)
|
'Version ' . $this->getDatabaseConfigurationHelper($databaseConfig['type'])->getDatabaseVersion($databaseConfig)
|
||||||
)
|
)
|
||||||
)) {
|
)) {
|
||||||
$this->requireDatabaseOrCreatePermissions(
|
$this->requireDatabaseOrCreatePermissions(
|
||||||
|
Loading…
Reference in New Issue
Block a user