diff --git a/core/view/compositeview.php b/core/view/compositeview.php index 05892ac..890fed2 100644 --- a/core/view/compositeview.php +++ b/core/view/compositeview.php @@ -265,7 +265,7 @@ class View_Composite extends _View_Composite function __construct($file) { parent::__construct($file); - require_once "PHPTAL.php"; + $this->tal = new PHPTAL($file); $this->tal->setEncoding('WINDOWS-1251'); // PHP_TAL_DEFAULT_ENCODING !! $this->tal->stripComments(true);