mirror of
https://github.com/flextype/flextype.git
synced 2025-08-26 06:24:32 +02:00
Flextype: GlobalVarsTwig new variable - PHP_VERSION - added #165
This commit is contained in:
@@ -40,6 +40,7 @@ class GlobalVarsTwigExtension extends \Twig_Extension implements \Twig_Extension
|
||||
'PATH_CONFIG_SITE' => PATH['config']['site'],
|
||||
'PATH_CACHE' => PATH['cache'],
|
||||
'FLEXTYPE_VERSION' => FLEXTYPE_VERSION,
|
||||
'PHP_VERSION' => PHP_VERSION,
|
||||
'registry' => $this->flextype['registry']->dump()
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user