mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-27 21:56:50 +01:00
* added news preview function (news, ticker, article)
* update TODO
This commit is contained in:
@@ -37,7 +37,8 @@ Twig_Autoloader::register();
|
||||
$twig_loader = new Twig_Loader_Filesystem(SYSTEM . 'templates');
|
||||
$twig = new Twig_Environment($twig_loader, array(
|
||||
'cache' => CACHE . 'twig/',
|
||||
'auto_reload' => true
|
||||
'auto_reload' => true,
|
||||
//'debug' => true
|
||||
));
|
||||
|
||||
$function = new Twig_SimpleFunction('getStyle', function ($i) {
|
||||
|
||||
Reference in New Issue
Block a user