// Add a link to restart installer if an error occured + session protection on reinstallation

This commit is contained in:
rMalie
2012-02-03 10:43:55 +00:00
parent 2d5c22f58a
commit c04daeefc2
5 changed files with 50 additions and 3 deletions
+6
View File
@@ -45,6 +45,12 @@ class InstallSession
session_start();
}
public function clean()
{
foreach ($_SESSION as $k => $v)
unset($_SESSION[$k]);
}
public function &__get($varname)
{
if (isset($_SESSION[$varname]))