mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 17:01:43 +02:00
May fix some login/logout issues between admin and front-end.
This commit is contained in:
@@ -1942,6 +1942,11 @@ function session_set($name, $value, $expire='', $path = e_HTTP, $domain = '', $s
|
||||
}
|
||||
else
|
||||
{
|
||||
if(($domain == '' && !e_SUBDOMAIN) || (defined('MULTILANG_SUBDOMAIN') && MULTILANG_SUBDOMAIN === TRUE))
|
||||
{
|
||||
$domain = (e_DOMAIN != FALSE) ? ".".e_DOMAIN : "";
|
||||
}
|
||||
|
||||
setcookie($name, $value, $expire, $path, $domain, $secure);
|
||||
$_COOKIE[$name] = $value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user