Revert "Fix installation"

This reverts commit 9c318f9012.
This commit is contained in:
slawkens
2024-02-12 21:43:55 +01:00
parent 42154d55a0
commit 5ae0be2323
2 changed files with 10 additions and 11 deletions

View File

@@ -137,5 +137,14 @@ else {
}
$_SESSION['installed'] = true;
}
foreach($_SESSION as $key => $value) {
if(strpos($key, 'var_') !== false)
unset($_SESSION[$key]);
}
unset($_SESSION['saved']);
if(file_exists(CACHE . 'install.txt')) {
unlink(CACHE . 'install.txt');
}
}
}