Remove code - you can't send multiple cookie domain
This commit is contained in:
parent
b2c8ce4248
commit
3fd3c44b4a
@ -100,10 +100,6 @@ class CookieCore
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($subDomains AS $subDomain) {
|
foreach ($subDomains AS $subDomain) {
|
||||||
// Isolate dev environnment
|
|
||||||
if (in_array($subDomain, array('local', 'localm', 'dev', 'devm', 'pp', 'ppm'))) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
$subDomainLength = strlen($subDomain) + 1;
|
$subDomainLength = strlen($subDomain) + 1;
|
||||||
if (strncmp($subDomain.'.', $domain, $subDomainLength) == 0) {
|
if (strncmp($subDomain.'.', $domain, $subDomainLength) == 0) {
|
||||||
$domain = substr($domain, $subDomainLength);
|
$domain = substr($domain, $subDomainLength);
|
||||||
|
Loading…
Reference in New Issue
Block a user