diff --git a/install.php b/install.php
index 5c2e7a8..40067c2 100644
--- a/install.php
+++ b/install.php
@@ -1124,15 +1124,19 @@ PHP
$this->statusMessage("Checking that friendly URLs work...");
$this->checkRewrite();
} else {
+ require_once 'core/startup/ParameterConfirmationToken.php';
+ $token = new ParameterConfirmationToken('flush');
+ $params = http_build_query($token->params());
+
echo <<SilverStripe successfully installed; I am now redirecting you to your SilverStripe site...
HTML;
}
@@ -1243,13 +1247,17 @@ TEXT;
}
function checkRewrite() {
+ require_once 'core/startup/ParameterConfirmationToken.php';
+ $token = new ParameterConfirmationToken('flush');
+ $params = http_build_query($token->params());
+
echo <<Testing...
HTML;
}