diff --git a/classes/Display/PHP.php b/classes/Display/PHP.php index f593345..b537079 100644 --- a/classes/Display/PHP.php +++ b/classes/Display/PHP.php @@ -104,12 +104,16 @@ class Display_PHP extends Display_Common $__template = $this->child_template; } + $this->template = $__template; + require_once $this->parent_template; } elseif ($this->child_template != null) { $__template = $this->child_template; + $this->template = $__template; + require_once $__template; }