Index: trunk/kernel/include/parse.php =================================================================== diff -u -r3576 -r4567 --- trunk/kernel/include/parse.php (.../parse.php) (revision 3576) +++ trunk/kernel/include/parse.php (.../parse.php) (revision 4567) @@ -424,6 +424,7 @@ function clsTemplateList($root_dir) { + $GLOBALS['TemplateRoot'] = $root_dir; $this->templates = Array(); $this->root_dir = $root_dir; $this->ErrorStr = '';