Ticket Details
li3_twig\template\view\adapter\Twig needs LITHIUM_APP_PATH prepended to directory paths?
RFC Ticket (pending)
###What happened:
When I use li3_twig without any modifications, the template path returned does not contain LITHIUM_APP_PATH and therefore causes a file not found error.
###What was expected:
If I modify line 80 of li3_twig\template\view\adapter\Twig from
{{{
return dirname($item);
}}}
to
{{{
return LITHIUM_APP_PATH . dirname($item);
}}}
then it works without any problems. I'm using the latest li3_twig from git and am including it in my app via
{{{
Libraries::add('li3_twig', array(
'bootstrap' => true,
));
}}}
Thanks!
Updates
on 12.30.10
by rmarscher