Closed wisnubaldas closed 6 years ago
Set all folders where you put your template files in the paths
:
$config = [
'paths' => ['/path/to/twig/templates', VIEWPATH],
'cache' => '/path/to/twig/cache',
];
$this->load->library('twig', $config);
Hi, I use HMVC and create a module to create an interface on the client side, I want to put the master template in my module, but there is an error like this:
when I fill out your library following its configuration: in the / module / front / controller directory
how to configure my template to be on the module I created? thank you,