Pastoid

HiEngine fix

The page you are looking at now is at this URL: http://pastoid.com/bl7

This paste was last updated on January 16, 2009 at 9:45 am.

Pasted Coderaw

	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 
		}
	}
}
 
 

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
www.bing.com 6
Is this paste spam?
<Hide