]> git.mxchange.org Git - core.git/commitdiff
Double->single converted
authorRoland Häder <roland@mxchange.org>
Fri, 31 Jul 2009 18:10:54 +0000 (18:10 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 31 Jul 2009 18:10:54 +0000 (18:10 +0000)
inc/classes/main/response/image/class_ImageResponse.php
inc/classes/main/template/class_BaseTemplateEngine.php

index 28c67f5f32b9e9346fd9cb02dc37ba7bdb92a8c8..ac46e101187cd817d247cbe2d6ba65cdc41541e0 100644 (file)
@@ -197,7 +197,7 @@ class ImageResponse extends BaseResponse implements Responseable {
                $this->setResponseBody($content);
 
                // Set content type
-               $this->addHeader('Content-type', "image/".$this->getImageInstance()->getImageType());
+               $this->addHeader('Content-type', 'image/' . $this->getImageInstance()->getImageType());
 
                // Call parent method
                parent::flushBuffer($force);
index 5a45bd71bca5f9c5401b7ccc86e58f25ca4284d4..19e06431c0600b5d99f2af2929ff7f451da4bb4f 100644 (file)
@@ -1050,7 +1050,7 @@ class BaseTemplateEngine extends BaseFrameworkSystem {
                        );
 
                        // Run the constructed command. This will "compile" all variables in
-                       @eval($eval);
+                       eval($eval);
 
                        // Goes something wrong?
                        if ((!isset($result)) || (empty($result))) {