mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Set token to session var
This commit is contained in:
@@ -68,7 +68,7 @@ if (isset($_REQUEST['username']) && $_REQUEST['username']!="") {
|
||||
|
||||
// Reestablish those session vars in an ongoing way
|
||||
if (isset($_SESSION['token'])) {
|
||||
$_SESSION['token'] = $_SESSION['token'];
|
||||
$token = $_SESSION['token'] = $_SESSION['token'];
|
||||
}
|
||||
if (isset($_SESSION['username'])) {
|
||||
$username = $_SESSION['username'] = $_SESSION['username'];
|
||||
@@ -118,4 +118,4 @@ if (get_magic_quotes_gpc ()) {
|
||||
$_COOKIE = (isset($_COOKIE) && !empty($_COOKIE)) ? array_map('stripslashes_deep', $_COOKIE) : array();
|
||||
$_REQUEST = (isset($_REQUEST) && !empty($_REQUEST)) ? array_map('stripslashes_deep', $_REQUEST) : array();
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user