mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-27 17:28:39 +00:00
CS
This commit is contained in:
parent
f62c3faf88
commit
5070644a12
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class InstallCommand extends ContainerAwareCommand
|
||||||
try {
|
try {
|
||||||
$this->getContainer()->get('doctrine')->getManager()->getConnection()->connect();
|
$this->getContainer()->get('doctrine')->getManager()->getConnection()->connect();
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
if (false === strpos($e->getMessage(), "Unknown database")) {
|
if (false === strpos($e->getMessage(), 'Unknown database')) {
|
||||||
$fulfilled = false;
|
$fulfilled = false;
|
||||||
$status = '<error>ERROR!</error>';
|
$status = '<error>ERROR!</error>';
|
||||||
$help = 'Can\'t connect to the database: '.$e->getMessage();
|
$help = 'Can\'t connect to the database: '.$e->getMessage();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue