diff --git a/library/Icinga/Web/Cookie.php b/library/Icinga/Web/Cookie.php index aaef3006d..54ad3079f 100644 --- a/library/Icinga/Web/Cookie.php +++ b/library/Icinga/Web/Cookie.php @@ -96,6 +96,9 @@ class Cookie */ public function getDomain() { + if ($this->domain === null) { + $this->domain = Config::app()->get('cookie', 'domain'); + } return $this->domain; }