]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/response/image/class_ImageResponse.php
Single quotes instead of double
[core.git] / inc / classes / main / response / image / class_ImageResponse.php
index b1f08a25029925f376fb63e4b0404f3e4862379a..c3ef454e505fdc33b685488f05094e6a4cd820ce 100644 (file)
@@ -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);