mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
May help session subdomain issues.
This commit is contained in:
parent
256f4b08b1
commit
73e095f14f
@ -441,7 +441,8 @@ class e_session
|
|||||||
if (empty($this->_options['domain']))
|
if (empty($this->_options['domain']))
|
||||||
{
|
{
|
||||||
// MULTILANG_SUBDOMAIN set during initial language detection in language handler
|
// MULTILANG_SUBDOMAIN set during initial language detection in language handler
|
||||||
$this->_options['domain'] = deftrue('MULTILANG_SUBDOMAIN') ? '.'.e_DOMAIN : '';
|
$doma = ((!e_SUBDOMAIN || defsettrue('MULTILANG_SUBDOMAIN')) && e_DOMAIN != FALSE) ? ".".e_DOMAIN : FALSE; // from v1.x
|
||||||
|
$this->_options['domain'] = $doma;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($this->_options['path']))
|
if (empty($this->_options['path']))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user