Remove code - you can't send multiple cookie domain

This commit is contained in:
Michael RICOIS 2018-03-14 15:04:48 +01:00
parent b2c8ce4248
commit 3fd3c44b4a

View File

@ -100,10 +100,6 @@ class CookieCore
}
foreach ($subDomains AS $subDomain) {
// Isolate dev environnment
if (in_array($subDomain, array('local', 'localm', 'dev', 'devm', 'pp', 'ppm'))) {
break;
}
$subDomainLength = strlen($subDomain) + 1;
if (strncmp($subDomain.'.', $domain, $subDomainLength) == 0) {
$domain = substr($domain, $subDomainLength);