1
0
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:
Awilum
2019-06-18 16:51:03 +03:00
parent fed58fd68e
commit 084bab1288

View File

@@ -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()
];
}