Commit 4c327a39 authored by Liam Morland's avatar Liam Morland

ISTWCMS-4094: Only send session cookies to the site that set them

parent fae6a6d2
......@@ -22,6 +22,9 @@ $update_free_access = FALSE;
$base_url = 'https://' . $UWhost . ($UWpref ? '/' . $UWpref : '');
// Only send session cookies to the site that set them.
ini_set('session.cookie_path', '/' . $UWpref);
// File system.
if (!isset($UW_file_path)) {
$UW_file_path = $UWpref;
......
Markdown is supported
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