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
28fd58db
Commit
28fd58db
authored
Mar 19, 2007
by
Nigel McNie
Committed by
Nigel McNie
Mar 19, 2007
Browse files
Make sure the session name starts with the cookie prefix, necessary to
support two maharas on one domain.
parent
b3e644b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/auth/session.php
View file @
28fd58db
...
...
@@ -29,7 +29,7 @@ defined('INTERNAL') || die();
//
// Set session settings
//
session_name
(
'mahara'
);
session_name
(
get_config
(
'cookieprefix'
)
.
'mahara'
);
ini_set
(
'session.save_path'
,
'3;'
.
get_config
(
'dataroot'
)
.
'sessions'
);
ini_set
(
'session.gc_divisor'
,
1000
);
// Session timeout is stored in minutes in the database
...
...
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