File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
src/PatternLab/PatternEngine/Twig/Loaders Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ public function __construct($options = array()) {
30
30
$ this ->instance = new \Twig_Environment ($ twigLoader , array ("debug " => $ twigDebug ));
31
31
32
32
// customize the loader
33
- $ this ->instance = TwigUtil::loadDateFormats ();
34
- $ this ->instance = TwigUtil::loadDebug ();
33
+ $ this ->instance = TwigUtil::loadDateFormats ($ this -> instance );
34
+ $ this ->instance = TwigUtil::loadDebug ($ this -> instance );
35
35
$ this ->instance = TwigUtil::loadMacros ($ this ->instance , "filesystem " );
36
36
37
37
}
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ public function __construct($options = array()) {
37
37
$ this ->instance = new \Twig_Environment ($ twigLoader , array ("debug " => $ twigDebug ));
38
38
39
39
// customize the loader
40
- $ this ->instance = TwigUtil::loadDateFormats ();
41
- $ this ->instance = TwigUtil::loadDebug ();
40
+ $ this ->instance = TwigUtil::loadDateFormats ($ this -> instance );
41
+ $ this ->instance = TwigUtil::loadDebug ($ this -> instance );
42
42
$ this ->instance = TwigUtil::loadMacros ($ this ->instance , "pattern " );
43
43
44
44
}
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ public function __construct($options = array()) {
32
32
$ this ->instance = new \Twig_Environment ($ twigLoader , array ("debug " => $ twigDebug ));
33
33
34
34
// customize the loader
35
- $ this ->instance = TwigUtil::loadDateFormats ();
36
- $ this ->instance = TwigUtil::loadDebug ();
35
+ $ this ->instance = TwigUtil::loadDateFormats ($ this -> instance );
36
+ $ this ->instance = TwigUtil::loadDebug ($ this -> instance );
37
37
$ this ->instance = TwigUtil::loadMacros ($ this ->instance , "string " );
38
38
39
39
}
You can’t perform that action at this time.
0 commit comments