Respect cookie domain config in Cookie.php

refs #11187
This commit is contained in:
Eric Lippmann 2016-02-27 22:19:37 +01:00
parent 923e902957
commit 5f642879c7
1 changed files with 3 additions and 0 deletions

View File

@ -96,6 +96,9 @@ class Cookie
*/
public function getDomain()
{
if ($this->domain === null) {
$this->domain = Config::app()->get('cookie', 'domain');
}
return $this->domain;
}