From 3fd3c44b4aeea40119d8dd998c5c51a621870d3e Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Wed, 14 Mar 2018 15:04:48 +0100 Subject: [PATCH] Remove code - you can't send multiple cookie domain --- classes/Cookie.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/classes/Cookie.php b/classes/Cookie.php index c70230dc..180d6732 100755 --- a/classes/Cookie.php +++ b/classes/Cookie.php @@ -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);