Fixed "Go to homepage" link in setup

This commit is contained in:
2022-01-26 14:59:26 +01:00
parent c960bea83a
commit a0ebdb159d

View File

@@ -81,10 +81,10 @@ header("Location: setup.php?step=4");
} }
if ($step == '4') { if ($step == '4') {
echo "Setup done,removed unnecessary setup files<br><a href='/'>Go to index</a>";
unlink("$sqlfileName"); unlink("$sqlfileName");
unlink("$sampleconfigfilePath"); unlink("$sampleconfigfilePath");
unlink('setup.php'); unlink('setup.php');
echo "Setup done,removed unnecessary setup files<br><a href='./'>Go to index</a>";
} }
?> ?>