// Call parent constructor
parent::__construct(__CLASS__);
- // Set part description
- $this->setObjectDescription("HTTP response");
-
- // Create unique ID number
- $this->generateUniqueId();
-
// Clean up a little
$this->removeNumberFormaters();
$this->removeSystemArray();
* @param $force Wether we shall force the output or abort if headers are
* already sent with an exception
* @return void
+ * @todo Add support for fatal messages in image response
* @throws ResponseHeadersAlreadySentException Thrown if headers are
* already sent
*/
$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/");