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
path: root/core
diff options
context:
space:
mode:
authorDiego Baños Fariñas <diegobanosfarinas@gmail.com>2017-04-27 00:55:02 +0300
committerStefan Giehl <stefan@piwik.org>2017-04-27 00:55:02 +0300
commitd2e9f96ab3cc6bae461fc2ed309a060f243cea8c (patch)
treebdf9d03399356cf5bc34f27579221e579167a26a /core
parent0064cb9a923cdd660a78f100d28f6715b0522efa (diff)
Bugfix: Fix console -V and --version not showing the version. Fixes #10640 (#11639)
Diffstat (limited to 'core')
-rw-r--r--core/Console.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Console.php b/core/Console.php
index 7a7629443f..bb6f4f7eff 100644
--- a/core/Console.php
+++ b/core/Console.php
@@ -12,6 +12,7 @@ use Piwik\Application\Environment;
use Piwik\Config\ConfigNotFoundException;
use Piwik\Container\StaticContainer;
use Piwik\Plugin\Manager as PluginManager;
+use Piwik\Version;
use Symfony\Bridge\Monolog\Handler\ConsoleHandler;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Command\Command;
@@ -30,7 +31,7 @@ class Console extends Application
{
$this->setServerArgsIfPhpCgi();
- parent::__construct();
+ parent::__construct('Piwik', Version::VERSION);
$this->environment = $environment;