From: Roland Häder Date: Sun, 4 Mar 2012 22:52:47 +0000 (+0000) Subject: Single quotes instead of double X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d98eef7cadd41169ef9e7c5f20d9742b5e7480df;p=core.git Single quotes instead of double --- 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);