mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-27 18:10:28 +00:00
Bonus: display driver in install command
This commit is contained in:
parent
3f60446756
commit
a730cae384
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ class InstallCommand extends ContainerAwareCommand
|
|||
|
||||
// testing if database driver exists
|
||||
$fulfilled = true;
|
||||
$label = '<comment>PDO Driver</comment>';
|
||||
$label = '<comment>PDO Driver (%s)</comment>';
|
||||
$status = '<info>OK!</info>';
|
||||
$help = '';
|
||||
|
||||
|
@ -87,7 +87,7 @@ class InstallCommand extends ContainerAwareCommand
|
|||
$help = 'Database driver "'.$this->getContainer()->getParameter('database_driver').'" is not installed.';
|
||||
}
|
||||
|
||||
$rows[] = [$label, $status, $help];
|
||||
$rows[] = [sprintf($label, $this->getContainer()->getParameter('database_driver')), $status, $help];
|
||||
|
||||
// testing if connection to the database can be etablished
|
||||
$label = '<comment>Database connection</comment>';
|
||||
|
|
Loading…
Reference in a new issue