mirror of
https://github.com/flextype/flextype.git
synced 2025-08-19 19:31:31 +02:00
Flextype Core: GlobalVarsTwigExtension #154
- GlobalVarsTwigExtension `flextype_version` removed. - GlobalVarsTwigExtension `FLEXTYPE_VERSION` added.
This commit is contained in:
@@ -39,7 +39,7 @@ class GlobalVarsTwigExtension extends \Twig_Extension implements \Twig_Extension
|
||||
'PATH_CONFIG_DEFAULT' => PATH['config']['default'],
|
||||
'PATH_CONFIG_SITE' => PATH['config']['site'],
|
||||
'PATH_CACHE' => PATH['cache'],
|
||||
'flextype_version' => FLEXTYPE_VERSION,
|
||||
'FLEXTYPE_VERSION' => FLEXTYPE_VERSION,
|
||||
'registry' => $this->flextype['registry']->dump()
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user