cookie_path safety net

Marcus I. Ryan marcus@riboflavin.net
Thu, 14 Mar 2002 15:12:41 -0600


Added in lib/Registry.php line 105 (just after we make sure it's set)

        /* Set the default cookie_path to '/' if webroot is empty */
        if (empty($this->applications['horde']['cookie_path'])) {
            $this->applications['horde']['cookie_path'] = '/';
        }

Hopefully this will reduce the number of problems related to people
setting cookie_path to ""

-- 
Marcus I. Ryan, marcus@riboflavin.net
-----------------------------------------------------------------------
 "Love is a snowmobile racing across the tundra and then suddenly it
 flips over, pinning you underneath.  At night, the ice weasels come."
                 -- Matt Groening
-----------------------------------------------------------------------