Skip to content

Commit edeb27a

Browse files
authored
Disabling Custom Twig Extensions for Filesystem Loader
1 parent 1ce4e8f commit edeb27a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/PatternLab/PatternEngine/Twig/Loaders/FilesystemLoader.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ public function __construct($options = array()) {
5050

5151
// customize Twig
5252
TwigUtil::setInstance($instance);
53-
TwigUtil::loadCustomExtensions();
53+
// Disabling custom Twig Extensions for Filesystem loader as it is only used internally by PL for view all pages
54+
// TwigUtil::loadCustomExtensions();
55+
// @todo Determine if any custom things should be loaded for this
5456
TwigUtil::loadFilters();
5557
TwigUtil::loadFunctions();
5658
TwigUtil::loadTags();

0 commit comments

Comments
 (0)