• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter Simple and Secure Twig

#30
Hello,
In doc it is written :
You can override the default configuration:


PHP Code:
$config = [
   'paths' => ['/path/to/twig/templates'VIEWPATH],
   'cache' => '/path/to/twig/cache',
];
$this->load->library('twig'$config); 


That is clear, but I load twig in autoload file, as :

PHP Code:
$autoload['libraries'] = array('ion_auth''twig' ); 


How to overwrite config in this case?

  Thanks!
Reply


Messages In This Thread
CodeIgniter Simple and Secure Twig - by kenjis - 05-24-2015, 07:06 PM
RE: CodeIgniter Simple and Secure Twig - by mstdmstd - 03-27-2016, 04:34 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.