From af80a4f0ecb479c4658de45f2a56e434dedca7dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A4=D1=91=D0=B4=D0=BE=D1=80=20=D0=9F=D0=BE=D0=B4=D0=BB?= =?UTF-8?q?=D0=B5=D1=81=D0=BD=D0=BE=D0=B2?= Date: Tue, 6 Sep 2016 15:31:36 +0300 Subject: [PATCH] =?UTF-8?q?PHPtal=20=D0=B2=20autoload?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/view/compositeview.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);