add smarty property, fix typo

This commit is contained in:
monte.ohrt
2009-11-03 15:51:29 +00:00
parent 23c4e77f14
commit 4babb2e550

View File

@@ -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')) {