diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index de4d14a5..c65b0d24 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -217,13 +217,15 @@ class Smarty extends Smarty_Internal_TemplateBase { public $_file_perms = 0644; // default dir permissions public $_dir_perms = 0771; + // smarty object reference + public $smarty = null; /** * Class constructor, initializes basic smarty properties */ public function __construct() { - // self reference needed by other classes methodes + // self reference needed by other classes methods $this->smarty = $this; if (is_callable('mb_internal_encoding')) {