mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 11:54:26 +02:00
add smarty property, fix typo
This commit is contained in:
@@ -217,13 +217,15 @@ class Smarty extends Smarty_Internal_TemplateBase {
|
|||||||
public $_file_perms = 0644;
|
public $_file_perms = 0644;
|
||||||
// default dir permissions
|
// default dir permissions
|
||||||
public $_dir_perms = 0771;
|
public $_dir_perms = 0771;
|
||||||
|
// smarty object reference
|
||||||
|
public $smarty = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class constructor, initializes basic smarty properties
|
* Class constructor, initializes basic smarty properties
|
||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
// self reference needed by other classes methodes
|
// self reference needed by other classes methods
|
||||||
$this->smarty = $this;
|
$this->smarty = $this;
|
||||||
|
|
||||||
if (is_callable('mb_internal_encoding')) {
|
if (is_callable('mb_internal_encoding')) {
|
||||||
|
Reference in New Issue
Block a user