Commit 28fd58db authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Make sure the session name starts with the cookie prefix, necessary to

support two maharas on one domain.
parent b3e644b8
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment