X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fresponse%2Fclass_ImageResponse.php;fp=inc%2Fclasses%2Fmain%2Fresponse%2Fclass_ImageResponse.php;h=3d81da999cba4ee1cbc6e94d12bbd261f18d6f71;hb=d527a312ec4b2983fc0ecda2179ce335c1a5a1f9;hp=065cabaf480dafcdf8e189c4cc40f6898c748199;hpb=fd7af0d49b7113721e6b86eb96eccea3b78362c0;p=shipsimu.git diff --git a/inc/classes/main/response/class_ImageResponse.php b/inc/classes/main/response/class_ImageResponse.php index 065caba..3d81da9 100644 --- a/inc/classes/main/response/class_ImageResponse.php +++ b/inc/classes/main/response/class_ImageResponse.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -221,11 +221,11 @@ class ImageResponse extends BaseFrameworkSystem implements Responseable { $cfg = $this->getConfigInstance(); // Set new template engine - $cfg->setConfigEntry('template_class', "ImageTemplateEngine"); - $cfg->setConfigEntry('raw_template_extension', ".itp"); + $cfg->setConfigEntry('template_class' , "ImageTemplateEngine"); + $cfg->setConfigEntry('raw_template_extension' , ".img"); $cfg->setConfigEntry('code_template_extension', ".itp"); - $cfg->setConfigEntry('tpl_base_path', "templates/images/"); - $cfg->setConfigEntry('code_template_type', "image"); + $cfg->setConfigEntry('tpl_base_path' , "templates/images/"); + $cfg->setConfigEntry('code_template_type' , "image"); // Get a prepared instance $this->templateEngine = $this->prepareTemplateEngine($appInstance);