mirror of
https://github.com/flextype/flextype.git
synced 2025-08-18 19:01:40 +02:00
Flextype Core: GlobalVarsTwigExtension - new global constant PATH_FIELDSETS
added #154
This commit is contained in:
@@ -12,8 +12,6 @@
|
||||
|
||||
namespace Flextype;
|
||||
|
||||
use Flextype\Component\Session\Session;
|
||||
|
||||
class GlobalVarsTwigExtension extends \Twig_Extension implements \Twig_Extension_GlobalsInterface
|
||||
{
|
||||
/**
|
||||
@@ -37,6 +35,7 @@ class GlobalVarsTwigExtension extends \Twig_Extension implements \Twig_Extension
|
||||
'PATH_THEMES' => PATH['themes'],
|
||||
'PATH_ENTRIES' => PATH['entries'],
|
||||
'PATH_SNIPPETS' => PATH['snippets'],
|
||||
'PATH_FIELDSETS' => PATH['fieldsets'],
|
||||
'PATH_CONFIG_DEFAULT' => PATH['config']['default'],
|
||||
'PATH_CONFIG_SITE' => PATH['config']['site'],
|
||||
'PATH_CACHE' => PATH['cache'],
|
||||
|
Reference in New Issue
Block a user