mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
Multisite navigation support (when multisite plugin installed)
This commit is contained in:
@@ -478,7 +478,14 @@ class e_session
|
||||
|
||||
if (empty($this->_options['path']))
|
||||
{
|
||||
$this->_options['path'] = defined('e_HTTP') ? e_HTTP : '/';
|
||||
if(defined('e_MULTISITE_MATCH')) // multisite support.
|
||||
{
|
||||
$this->_options['path'] = '/';
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->_options['path'] = defined('e_HTTP') ? e_HTTP : '/';
|
||||
}
|
||||
}
|
||||
|
||||
// session name before options - problems reported on php.net
|
||||
|
Reference in New Issue
Block a user