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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12967 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-02-03 10:43:55 +00:00
parent 45a22cf98e
commit 2afd7e16d2
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]))