phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] [18984] force the cookie domain to apply to the whole


From: Dave Hall
Subject: [Phpgroupware-cvs] [18984] force the cookie domain to apply to the whole domain.
Date: Sun, 26 Oct 2008 20:53:59 +0000

Revision: 18984
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18984
Author:   skwashd
Date:     2008-10-26 20:53:58 +0000 (Sun, 26 Oct 2008)

Log Message:
-----------
force the cookie domain to apply to the whole domain.

Modified Paths:
--------------
    core/trunk/phpgwapi/inc/class.sessions.inc.php

Modified: core/trunk/phpgwapi/inc/class.sessions.inc.php
===================================================================
--- core/trunk/phpgwapi/inc/class.sessions.inc.php      2008-10-26 20:51:25 UTC 
(rev 18983)
+++ core/trunk/phpgwapi/inc/class.sessions.inc.php      2008-10-26 20:53:58 UTC 
(rev 18984)
@@ -1444,14 +1444,8 @@
 
                        $secure = phpgw::get_var('HTTPS', 'bool', 'SERVER');
                        
-                       if ( 
isset($GLOBALS['phpgw_info']['server']['webserver_url']))
-                       {
-                               session_set_cookie_params(0, 
$GLOBALS['phpgw_info']['server']['webserver_url'], $this->_cookie_domain, 
$secure, true);
-                       }
-                       else
-                       {
-                               session_set_cookie_params(0, "/", 
$this->_cookie_domain, $secure, true);
-                       }
+                       session_set_cookie_params(0, "/", 
$this->_cookie_domain, $secure, true);
+
                        return $this->_cookie_domain;
                }
 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]