Fix installation

This commit is contained in:
slawkens
2024-01-28 11:11:51 +01:00
parent a88103a956
commit 9c318f9012
2 changed files with 11 additions and 10 deletions

View File

@@ -137,14 +137,5 @@ 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');
}
}
}