mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-15 00:12:43 +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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue