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:
authorMatthieu Napoli <matthieu@mnapoli.fr>2014-11-17 09:20:48 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-11-17 09:20:48 +0300
commit356f2cee799276642c8e45823ad7d0fdc4325a08 (patch)
treed6f1498f4a8f5cddf54b99ef4263d66813f1213e /plugins/Installation/Controller.php
parentdb9fd9a3dec80aad0ebfd71612997550d615ea45 (diff)
Fix installation
Diffstat (limited to 'plugins/Installation/Controller.php')
-rw-r--r--plugins/Installation/Controller.php4
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();