mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Remove temporary list of override domains in Session class
This commit is contained in:
parent
f85a1f036c
commit
fbe47e0610
1 changed files with 0 additions and 9 deletions
|
|
@ -1185,15 +1185,6 @@ class Session
|
|||
public static function destroyCookiesFromConflictingDomains(array $cookies)
|
||||
{
|
||||
$override_domains = config('session.override_domains');
|
||||
if ($override_domains === null && !Config::get('session.domain') && !ini_get('session.cookie_domain'))
|
||||
{
|
||||
list($lifetime, $refresh_interval, $domain, $path) = self::_getParams();
|
||||
if (substr($domain, 0, 4) === 'www.')
|
||||
{
|
||||
$override_domains[] = $domain;
|
||||
$override_domains[] = substr($domain, 4);
|
||||
}
|
||||
}
|
||||
if (!$override_domains)
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue