mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Fix session variables being reset to an empty string
This commit is contained in:
parent
07da55ba8e
commit
b32ae03396
3 changed files with 6 additions and 8 deletions
|
|
@ -447,11 +447,13 @@ class Session
|
|||
*/
|
||||
public static function destroy()
|
||||
{
|
||||
unset($_SESSION['RHYMIX']);
|
||||
$_SESSION = array();
|
||||
self::$_started = false;
|
||||
self::$_autologin_key = false;
|
||||
self::$_member_info = false;
|
||||
self::_setKeys();
|
||||
self::destroyAutologinKeys();
|
||||
@session_write_close();
|
||||
@session_destroy();
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -191,6 +191,7 @@ function setUserSequence($seq)
|
|||
{
|
||||
$_SESSION['seq'] = array();
|
||||
}
|
||||
debugPrint($_SESSION['seq']);
|
||||
$_SESSION['seq'][] = $seq;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue