mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
Added mr_e's patch.
This commit is contained in:
parent
bf218b85ed
commit
94eb165d39
@ -303,7 +303,14 @@
|
||||
$dom = $arr[1];
|
||||
}
|
||||
$parts = explode('.',$dom);
|
||||
$this->dom = '.'.$parts[count($parts)-2].'.'.$parts[count($parts)-1];
|
||||
if (count($parts) > 2)
|
||||
{
|
||||
$this->dom = '.'.$parts[count($parts)-2].'.'.$parts[count($parts)-1];
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->dom = '';
|
||||
}
|
||||
}
|
||||
|
||||
function phpgw_setcookie($cookiename,$cookievalue='',$cookietime=0)
|
||||
|
@ -288,7 +288,14 @@
|
||||
$dom = $arr[1];
|
||||
}
|
||||
$parts = explode('.',$dom);
|
||||
$this->dom = '.'.$parts[count($parts)-2].'.'.$parts[count($parts)-1];
|
||||
if (count($parts) > 2)
|
||||
{
|
||||
$this->dom = '.'.$parts[count($parts)-2].'.'.$parts[count($parts)-1];
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->dom = '';
|
||||
}
|
||||
}
|
||||
|
||||
function phpgw_setcookie($cookiename,$cookievalue='',$cookietime=0)
|
||||
|
Loading…
Reference in New Issue
Block a user