Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
6395fd7a
Commit
6395fd7a
authored
Nov 01, 2006
by
Nigel McNie
Committed by
Nigel McNie
Nov 01, 2006
Browse files
Added some more data to the defaults, and by proxy, to the things that the
session object stores.
parent
5e826945
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/session.php
View file @
6395fd7a
...
...
@@ -56,8 +56,10 @@ class Session {
*/
public
function
__construct
()
{
$this
->
defaults
=
array
(
'logout_time'
=>
0
,
'username'
=>
''
'logout_time'
=>
0
,
'username'
=>
''
,
'passwordchange'
=>
false
,
'institution'
=>
'mahara'
);
// Resume an existing session if required
if
(
isset
(
$_COOKIE
[
'PHPSESSID'
]))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment