Zeile 57 | Zeile 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 209 | Zeile 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 219 | Zeile 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']]; }
|