diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-03-21 08:56:37 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-03-21 08:56:37 +0400 |
commit | 3f77b462bdf3906dd3ee809cd90d3034daf64fe7 (patch) | |
tree | 4a56276d24cc7cb4f56d6bfb941d64129bc58c5c /core/Console.php | |
parent | 828d7cf180fc9cfe1fce93ecb68bc72953e777f6 (diff) |
Do not fail the console if there is no config.ini.php
Diffstat (limited to 'core/Console.php')
-rw-r--r-- | core/Console.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/Console.php b/core/Console.php index 638a810e46..af49044132 100644 --- a/core/Console.php +++ b/core/Console.php @@ -18,7 +18,11 @@ class Console { $this->initPiwikHost(); $this->initConfig(); - $this->initPlugins(); + try { + $this->initPlugins(); + } catch(\Exception $e) { + // Piwik not installed yet, no config file? + } } public function run() |