diff options
author | Diego Baños Fariñas <diegobanosfarinas@gmail.com> | 2017-04-27 00:55:02 +0300 |
---|---|---|
committer | Stefan Giehl <stefan@piwik.org> | 2017-04-27 00:55:02 +0300 |
commit | d2e9f96ab3cc6bae461fc2ed309a060f243cea8c (patch) | |
tree | bdf9d03399356cf5bc34f27579221e579167a26a /core | |
parent | 0064cb9a923cdd660a78f100d28f6715b0522efa (diff) |
Bugfix: Fix console -V and --version not showing the version. Fixes #10640 (#11639)
Diffstat (limited to 'core')
-rw-r--r-- | core/Console.php | 3 |
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; |