From 73e095f14f74c40d174d75033fabbf2b7aac6da9 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 6 Jun 2013 12:50:43 -0700 Subject: [PATCH] May help session subdomain issues. --- e107_handlers/session_handler.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e107_handlers/session_handler.php b/e107_handlers/session_handler.php index 9b5d76468..5e8201bd6 100644 --- a/e107_handlers/session_handler.php +++ b/e107_handlers/session_handler.php @@ -441,7 +441,8 @@ class e_session if (empty($this->_options['domain'])) { // 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']))