Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: index.php 4339 2009-04-04 18:26:37Z Tikitiki $
| * $Id: index.php 5379 2011-02-21 11:06:42Z Tomm $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 98 | Zeile 98 |
---|
{ $db->delete_query("adminsessions", "uid='{$mybb->user['uid']}'");
|
{ $db->delete_query("adminsessions", "uid='{$mybb->user['uid']}'");
|
$sid = md5(uniqid(microtime()));
| $sid = md5(random_str());
|
// Create a new admin session for this user $admin_session = array(
| // Create a new admin session for this user $admin_session = array(
|
Zeile 274 | Zeile 274 |
---|
} }
|
} }
|
| $rand = my_rand();
|
if($rand == 2 || $rand == 5) { $stamp = TIME_NOW-604800;
| if($rand == 2 || $rand == 5) { $stamp = TIME_NOW-604800;
|