PHPtal в autoload
This commit is contained in:
parent
39b371b241
commit
af80a4f0ec
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue