itp renamed to xml
authorRoland Häder <roland@mxchange.org>
Sun, 5 Apr 2009 07:45:38 +0000 (07:45 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 5 Apr 2009 07:45:38 +0000 (07:45 +0000)
inc/classes/main/response/image/class_ImageResponse.php

index 7a1cdce..27fac28 100644 (file)
@@ -72,10 +72,10 @@ class ImageResponse extends BaseResponse implements Responseable {
 
                // Set new template engine
                $cfg->setConfigEntry('template_class'         , $cfg->readConfig('image_template_class'));
 
                // Set new template engine
                $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/");
-               $cfg->setConfigEntry('code_template_type'     , "image");
+               $cfg->setConfigEntry('raw_template_extension' , '.img');
+               $cfg->setConfigEntry('code_template_extension', '.xml');
+               $cfg->setConfigEntry('tpl_base_path'          , 'templates/images/');
+               $cfg->setConfigEntry('code_template_type'     , 'image');
 
                // Get a prepared instance
                $this->setTemplateInstance($this->prepareTemplateInstance($appInstance));
 
                // Get a prepared instance
                $this->setTemplateInstance($this->prepareTemplateInstance($appInstance));