From 4babb2e5507e5c3c2e5be0bd5e380cc85a4fa05b Mon Sep 17 00:00:00 2001 From: "monte.ohrt" Date: Tue, 3 Nov 2009 15:51:29 +0000 Subject: [PATCH] add smarty property, fix typo --- libs/Smarty.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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')) {