aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-09-03 11:45:59 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-09-03 11:45:59 +0200
commit5070644a12ad264444a812b783a04386d6581cb0 (patch)
treecf83462799bcdf542b4debc0ff51736c43711ad3
parentf62c3faf88fbc1c2a484854019d17ff377836717 (diff)
downloadwallabag-5070644a12ad264444a812b783a04386d6581cb0.tar.gz
wallabag-5070644a12ad264444a812b783a04386d6581cb0.tar.zst
wallabag-5070644a12ad264444a812b783a04386d6581cb0.zip
CS
-rw-r--r--src/Wallabag/CoreBundle/Command/InstallCommand.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php
index cd816149..035eb865 100644
--- a/src/Wallabag/CoreBundle/Command/InstallCommand.php
+++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php
@@ -96,7 +96,7 @@ class InstallCommand extends ContainerAwareCommand
96 try { 96 try {
97 $this->getContainer()->get('doctrine')->getManager()->getConnection()->connect(); 97 $this->getContainer()->get('doctrine')->getManager()->getConnection()->connect();
98 } catch (\Exception $e) { 98 } catch (\Exception $e) {
99 if (false === strpos($e->getMessage(), "Unknown database")) { 99 if (false === strpos($e->getMessage(), 'Unknown database')) {
100 $fulfilled = false; 100 $fulfilled = false;
101 $status = '<error>ERROR!</error>'; 101 $status = '<error>ERROR!</error>';
102 $help = 'Can\'t connect to the database: '.$e->getMessage(); 102 $help = 'Can\'t connect to the database: '.$e->getMessage();