Vergleich inc/class_session.php - 1.8.30 - 1.8.36

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 57Zeile 57
		$this->packedip = my_inet_pton($this->ipaddress);

// Find out the user agent.

		$this->packedip = my_inet_pton($this->ipaddress);

// Find out the user agent.

		$this->useragent = $_SERVER['HTTP_USER_AGENT'];




		if(isset($_SERVER['HTTP_USER_AGENT']))
{
$this->useragent = $_SERVER['HTTP_USER_AGENT'];
}


// Attempt to find a session id in the cookies.
if(isset($mybb->cookies['sid']) && !defined('IN_UPGRADE'))


// Attempt to find a session id in the cookies.
if(isset($mybb->cookies['sid']) && !defined('IN_UPGRADE'))

Zeile 209Zeile 212
		if($mybb->user['dateformat'] != 0 && $mybb->user['dateformat'] != '')
{
global $date_formats;

		if($mybb->user['dateformat'] != 0 && $mybb->user['dateformat'] != '')
{
global $date_formats;

			if($date_formats[$mybb->user['dateformat']])

			if(!empty($date_formats[$mybb->user['dateformat']]))

			{
$mybb->settings['dateformat'] = $date_formats[$mybb->user['dateformat']];
}

			{
$mybb->settings['dateformat'] = $date_formats[$mybb->user['dateformat']];
}

Zeile 219Zeile 222
		if($mybb->user['timeformat'] != 0 && $mybb->user['timeformat'] != '')
{
global $time_formats;

		if($mybb->user['timeformat'] != 0 && $mybb->user['timeformat'] != '')
{
global $time_formats;

			if($time_formats[$mybb->user['timeformat']])

			if(!empty($time_formats[$mybb->user['timeformat']]))

			{
$mybb->settings['timeformat'] = $time_formats[$mybb->user['timeformat']];
}

			{
$mybb->settings['timeformat'] = $time_formats[$mybb->user['timeformat']];
}

Zeile 351Zeile 354
		$mybbgroups = 1;
$mybb->user['displaygroup'] = 1;
$mybb->user['invisible'] = 0;

		$mybbgroups = 1;
$mybb->user['displaygroup'] = 1;
$mybb->user['invisible'] = 0;

 
		$mybb->user['moderateposts'] = 0;
$mybb->user['showquickreply'] = 1;
$mybb->user['signature'] = '';
$mybb->user['suspendposting'] = 0;


// Has this user visited before? Lastvisit need updating?
if(isset($mybb->cookies['mybb']['lastvisit']))


// Has this user visited before? Lastvisit need updating?
if(isset($mybb->cookies['mybb']['lastvisit']))