Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
6395fd7a
Commit
6395fd7a
authored
Nov 01, 2006
by
Nigel McNie
Committed by
Nigel McNie
Nov 01, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
htdocs/lib/session.php
htdocs/lib/session.php
+4
-2
No files found.
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
Markdown
is supported
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