// Add a lock on install process steps to be sure that a process can't be called if the first one isn't finished
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12916 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -45,9 +45,16 @@ class InstallSession
|
||||
session_start();
|
||||
}
|
||||
|
||||
public function __get($varname)
|
||||
public function &__get($varname)
|
||||
{
|
||||
return isset($_SESSION[$varname]) ? $_SESSION[$varname] : null;
|
||||
if (isset($_SESSION[$varname]))
|
||||
$ref = &$_SESSION[$varname];
|
||||
else
|
||||
{
|
||||
$null = null;
|
||||
$ref = &$null;
|
||||
}
|
||||
return $ref;
|
||||
}
|
||||
|
||||
public function __set($varname, $value)
|
||||
|
||||
Reference in New Issue
Block a user