mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
patch from Matthew Galgoci to make cookies work also with domain names
with more then 2 parts(hostname.domainname.de)
This commit is contained in:
parent
41f40155aa
commit
94a05b4690
@ -440,7 +440,7 @@
|
||||
{
|
||||
if (!ereg('[0-9]+',$parts[1]))
|
||||
{
|
||||
for($i=1;$i<count($parts);$i++)
|
||||
for($i=0;$i<count($parts);$i++)
|
||||
{
|
||||
$this->cookie_domain .= '.'.$parts[$i];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user