]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/template/web/class_WebTemplateEngine.php
A lot rewrites and fixes for weak redirect methods
[shipsimu.git] / inc / classes / main / template / web / class_WebTemplateEngine.php
index f87a4e12435d08dc17e96edd8ae7e9dc06246715..61a6bbb1075a90d2ebe55c06794dd543614f7bf0 100644 (file)
@@ -5,7 +5,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @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
  *
@@ -31,12 +31,6 @@ class WebTemplateEngine extends BaseTemplateEngine implements CompileableTemplat
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set part description
-               $this->setObjectDescription("Web template engine");
-
-               // Create unique ID number
-               $this->generateUniqueId();
        }
 
        /**
@@ -87,7 +81,7 @@ class WebTemplateEngine extends BaseTemplateEngine implements CompileableTemplat
                $tplInstance->setCodeTemplateExtension($cfgInstance->readConfig('code_template_extension'));
 
                // Absolute output path for compiled templates
-               $tplInstance->setCompileOutputPath(PATH . $cfgInstance->readConfig('compile_output_path'));
+               $tplInstance->setCompileOutputPath($cfgInstance->readConfig('base_path') . $cfgInstance->readConfig('compile_output_path'));
 
                // Return the prepared instance
                return $tplInstance;