Debug mailer finished and debug messages removed:
[shipsimu.git] / inc / classes / main / response / class_ImageResponse.php
index abf349150c8c92cd72b2479cfbcb804414d23995..7112907b855771d521da1e465aed5681d0c946e9 100644 (file)
@@ -216,7 +216,7 @@ class ImageResponse extends BaseFrameworkSystem implements Responseable {
                $cfg = $this->getConfigInstance();
 
                // Set new template engine
-               $cfg->setConfigEntry('template_class'         , "ImageTemplateEngine");
+               $cfg->setConfigEntry('template_class'         , $cfg->readConfig('image_template_class'));
                $cfg->setConfigEntry('raw_template_extension' , ".img");
                $cfg->setConfigEntry('code_template_extension', ".itp");
                $cfg->setConfigEntry('tpl_base_path'          , "templates/images/");