Dwoo::initGlobals() is only called once during the Dwoo object construction. If you had overriden it and need to update global data before each template is executed you should instead override Dwoo::initRuntimeVars() and push stuff in the globals array there. Also be aware that this means captured data, foreach values and so-on will persist from a parent template to an included one (but the include's changes will not be reflected on the parent), and from a template to the next if you render several in series. git-svn-id: svn://dwoo.org/dwoo/trunk@251 0598d79b-80c4-4d41-97ba-ac86fbbd088b