1
0
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:
Cameron
2017-10-11 18:57:32 -07:00
parent 166837f053
commit e35259afe9
4 changed files with 61 additions and 2 deletions

View File

@@ -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