// Now construct the full header
$cookieString = $cookieName . '=' . $cookieValue . '; ';
- $cookieString .= "expires=" . date("D, d-F-Y H:i:s", $expires) . " GMT";
- // $cookieString .= "; path=".$path."; domain=".$domain;
+ $cookieString .= 'expires=' . date('D, d-F-Y H:i:s', $expires) . ' GMT';
+ // TODO Why is this not always working? $cookieString .= '; path=' . $path . '; domain=' . $domain;
// Set the cookie as a header
$this->cookies[$cookieName] = $cookieString;
$this->getTemplateInstance()->assignApplicationData($this->getApplicationInstance());
// Get the url from config
- $url = $this->getConfigInstance()->getConfigEntry($configEntry . "_url");
+ $url = $this->getConfigInstance()->getConfigEntry($configEntry . '_url');
// Compile the URL
$url = $this->getTemplateInstance()->compileRawCode($url);