Flush the cache after the rewrite test

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@42205 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
aoneil 2007-09-17 22:00:48 +00:00
parent ff8c56927c
commit ab17337b75
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ if(isset($_REQUEST['force'])) {
if($modRewriteWorking) {
echo "mod_rewrite is working! I will now try and direct you to
<a href=\"home/successfullyinstalled\">home/successfullyinstalled</a> to confirm that the installation was successful.
<script>setTimeout(function() { window.location.href = 'home/successfullyinstalled'; }, 1000);</script>
<a href=\"home/successfullyinstalled?flush=1\">home/successfullyinstalled</a> to confirm that the installation was successful.
<script>setTimeout(function() { window.location.href = 'home/successfullyinstalled?flush=1'; }, 1000);</script>
";
} else {
restoreHtaccess();