Author:   Lars Michelsen <[email protected]>
Date:     Fri Sep 30 13:03:04 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Fri Sep 30 13:03:04 2011 +0200

Bugfix: Removed session cookie domain by default

---

 share/server/core/classes/GlobalMainCfg.php |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/share/server/core/classes/GlobalMainCfg.php 
b/share/server/core/classes/GlobalMainCfg.php
index a35f8c7..ce0f01d 100644
--- a/share/server/core/classes/GlobalMainCfg.php
+++ b/share/server/core/classes/GlobalMainCfg.php
@@ -122,8 +122,7 @@ class GlobalMainCfg {
                     'editable' => 1,
                     'default' => '60',
                     'match' => MATCH_INTEGER),
-                //FIXME: auto detect
-                'sesscookiedomain' => Array('must' => 1,
+                'sesscookiedomain' => Array('must' => 0,
                     'editable' => 1,
                     'default' => '',
                     'match' => MATCH_STRING),
@@ -984,7 +983,7 @@ class GlobalMainCfg {
         );
 
         // Detect the cookie domain to use
-        $this->setCookieDomainByEnv();
+        //$this->setCookieDomainByEnv();
 
         // Try to get the base path via $_SERVER['SCRIPT_FILENAME']
         $this->validConfig['paths']['base']['default'] = $this->getBasePath();


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to