1
0
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:
Awilum
2019-06-22 10:28:43 +03:00
parent 5ff4858a5c
commit c4ef5835d3

View File

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