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 28c67f5..ac46e10 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 5a45bd7..19e0643 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))) {