mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
fix session problems for those using mysql in strict mode and users having a browser agent string > 150 characters.
git-svn-id: file:///svn/phpbb/trunk@7956 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
26ed2f3607
commit
1393668c45
2 changed files with 2 additions and 4 deletions
|
@ -281,11 +281,9 @@ p a {
|
|||
<li>[Fix] Cached stylesheet now supporting gzip compression</li>
|
||||
<li>[Fix] Added link to inbox for deleted PMs (Bug #13813)</li>
|
||||
<li>[Fix] Re-syncing the board stats also refreshes the newest user (Bug #13831)</li>
|
||||
|
||||
|
||||
|
||||
<li>[Feature] Ability to externally set $phpbb_root_path if wrapping phpBB3 by defining constant PHPBB_ROOT_PATH</li>
|
||||
<li>[Fix] Implemented correct left/right floating within ACP in regard to RTL languages (Bug #13777)</li>
|
||||
<li>[Fix] Fixing session problems when using MySQL strict mode in conjunction with very long browser agent string (Bug #13827)</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -567,7 +567,7 @@ class session
|
|||
'session_start' => (int) $this->time_now,
|
||||
'session_last_visit' => (int) $this->data['session_last_visit'],
|
||||
'session_time' => (int) $this->time_now,
|
||||
'session_browser' => (string) $this->browser,
|
||||
'session_browser' => (string) substr($this->browser, 0, 149),
|
||||
'session_forwarded_for' => (string) $this->forwarded_for,
|
||||
'session_ip' => (string) $this->ip,
|
||||
'session_autologin' => ($session_autologin) ? 1 : 0,
|
||||
|
|
Loading…
Add table
Reference in a new issue