...

World Wide Web Server 2012-07-04 16:04:47 -07:00
parent 0bbb8263cb
commit 8f65e39575

@ -47,20 +47,20 @@ class Render
{
if (isset($vars['wrap']))
{
if (substr($vars['wrap'],0,5) == '</')
if (substr($vars['wrap'],0,5) == '</')
{
$this->load->view($view, $vars, $return);
$this->bypass_view($vars['wrap']);
} elseif (strstr($vars['wrap'],'></') == FALSE)
} elseif (strstr($vars['wrap'],'></') == FALSE)
{
$this->bypass_view($vars['wrap']);
$this->load->view($view, $vars, $return);
} else
{
$bookends = explode('></',$vars['wrap'],2);
$bookends = explode('></',$vars['wrap'],2);
$this->bypass_view($bookends[0].'>');
$this->load->view($view, $vars, $return);
$this->bypass_view('</'.$bookends[1]);
$this->bypass_view('</'.$bookends[1]);
}
} else
{