Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* $Id: member.php 2193 2006-09-03 12:33:03Z chris $
| * $Id: member.php 2224 2006-09-14 00:35:33Z chris $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 210 | Zeile 210 |
---|
if($mybb->settings['regtype'] != "randompass") { // Log them in
|
if($mybb->settings['regtype'] != "randompass") { // Log them in
|
my_setcookie("mybbuser", $user_info['uid']."_".$user_info['loginkey']);
| my_setcookie("mybbuser", $user_info['uid']."_".$user_info['loginkey'], null, true);
|
}
if($mybb->settings['regtype'] == "verify")
| }
if($mybb->settings['regtype'] == "verify")
|
Zeile 912 | Zeile 912 |
---|
// Temporarily set the cookie remember option for the login cookies $mybb->user['remember'] = $user['remember'];
|
// Temporarily set the cookie remember option for the login cookies $mybb->user['remember'] = $user['remember'];
|
my_setcookie("mybbuser", $user['uid']."_".$user['loginkey']); my_setcookie("sid", $session->sid, -1);
| my_setcookie("mybbuser", $user['uid']."_".$user['loginkey'], null, true); my_setcookie("sid", $session->sid, -1, true);
|
if(function_exists("loggedIn")) {
| if(function_exists("loggedIn")) {
|
Zeile 943 | Zeile 943 |
---|
if($mybb->input['uid'] == $mybb->user['uid']) { my_unsetcookie("mybbuser");
|
if($mybb->input['uid'] == $mybb->user['uid']) { my_unsetcookie("mybbuser");
|
my_setcookie("sid", 0, -1);
| my_unsetcookie("sid");
|
if($mybb->user['uid']) { $time = time();
| if($mybb->user['uid']) { $time = time();
|