From d98eef7cadd41169ef9e7c5f20d9742b5e7480df Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 4 Mar 2012 22:52:47 +0000 Subject: [PATCH] Single quotes instead of double --- inc/classes/main/response/image/class_ImageResponse.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/classes/main/response/image/class_ImageResponse.php b/inc/classes/main/response/image/class_ImageResponse.php index b1f08a25..c3ef454e 100644 --- a/inc/classes/main/response/image/class_ImageResponse.php +++ b/inc/classes/main/response/image/class_ImageResponse.php @@ -120,8 +120,8 @@ class ImageResponse extends BaseResponse implements Responseable { // 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; @@ -146,7 +146,7 @@ class ImageResponse extends BaseResponse implements Responseable { $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); -- 2.39.5