public function display($template) { extract($this->engine_vars); if ($this->template_exists($template)) { $template_file = isset($this->template_map[$template]) ? $this->template_map[$template] : null; $template_file = Plugins::filter('include_template_file', $template_file, $template, __CLASS__); $template_file = 'hi://' . $template_file; $fc = file_get_contents($template_file); if($template == 'comments') { // Utils::debug(file_get_contents($template_file)); // die(); } eval('?>' . $fc); //include $template_file; // stopped working properly in PHP 5.2.8 } } }