Refactor
This commit is contained in:
parent
24e2d58aad
commit
564fa2f274
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ setcookie(
|
|||
$session['httponly']
|
||||
);
|
||||
|
||||
/** Backwards compatibility */
|
||||
if (!isset($_SESSION['user']) || is_array($_SESSION['user'])) {
|
||||
$_SESSION['user'] = new User();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue