Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-03-21 08:56:37 +0400
committermattab <matthieu.aubry@gmail.com>2014-03-21 08:56:37 +0400
commit3f77b462bdf3906dd3ee809cd90d3034daf64fe7 (patch)
tree4a56276d24cc7cb4f56d6bfb941d64129bc58c5c /core/Console.php
parent828d7cf180fc9cfe1fce93ecb68bc72953e777f6 (diff)
Do not fail the console if there is no config.ini.php
Diffstat (limited to 'core/Console.php')
-rw-r--r--core/Console.php6
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()