Commit c9eda80d by seldaek

Fixed a bug when accessing global vars from a sub-template

fixes #42 git-svn-id: svn://dwoo.org/dwoo/trunk@292 0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent f1766640
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
resulting in a fatal error) resulting in a fatal error)
* Fixed a property reading bug on objects that implemented __get but not * Fixed a property reading bug on objects that implemented __get but not
__isset, implementing __isset is however very much recommended __isset, implementing __isset is however very much recommended
* Fixed a bug when accessing global vars from a sub-template
[2009-07-18] 1.1.0 [2009-07-18] 1.1.0
! BC Break: Dwoo::initGlobals() is only called once during the Dwoo object ! BC Break: Dwoo::initGlobals() is only called once during the Dwoo object
......
...@@ -198,8 +198,9 @@ class Dwoo ...@@ -198,8 +198,9 @@ class Dwoo
* stores the data during template runtime * stores the data during template runtime
* *
* @var array * @var array
* @private
*/ */
protected $data; public $data;
/** /**
* stores the current scope during template runtime * stores the current scope during template runtime
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment