diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-17 09:20:48 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-17 09:20:48 +0300 |
commit | 356f2cee799276642c8e45823ad7d0fdc4325a08 (patch) | |
tree | d6f1498f4a8f5cddf54b99ef4263d66813f1213e /plugins | |
parent | db9fd9a3dec80aad0ebfd71612997550d615ea45 (diff) |
Fix installation
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Installation/Controller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Installation/Controller.php b/plugins/Installation/Controller.php index 0f44614a09..b8f428341c 100644 --- a/plugins/Installation/Controller.php +++ b/plugins/Installation/Controller.php @@ -396,8 +396,6 @@ class Controller extends \Piwik\Plugin\ControllerAdmin { $this->checkPiwikIsNotInstalled(); - $this->markInstallationAsCompleted(); - $view = new View( '@Installation/finished', $this->getInstallationSteps(), @@ -424,6 +422,8 @@ class Controller extends \Piwik\Plugin\ControllerAdmin */ Piwik::postEvent('Installation.defaultSettingsForm.submit', array($form)); + $this->markInstallationAsCompleted(); + Url::redirectToUrl('index.php'); } catch (Exception $e) { $view->errorMessage = $e->getMessage(); |