mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix Session::set_cookie_domain
This commit is contained in:
parent
027022ef67
commit
9934230ad8
@ -169,7 +169,7 @@ class Session {
|
||||
*/
|
||||
public static function set_cookie_domain($domain) {
|
||||
Deprecation::notice('3.2', 'Use the "Session.cookie_domain" config setting instead');
|
||||
Config::inst()->update('Session', 'cookie_domain', $age);
|
||||
Config::inst()->update('Session', 'cookie_domain', $domain);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user