Skip to content

Commit

Permalink
Disabling Custom Twig Extensions for Filesystem Loader
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanLovely authored Feb 8, 2018
1 parent 1ce4e8f commit edeb27a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ public function __construct($options = array()) {

// customize Twig
TwigUtil::setInstance($instance);
TwigUtil::loadCustomExtensions();
// Disabling custom Twig Extensions for Filesystem loader as it is only used internally by PL for view all pages
// TwigUtil::loadCustomExtensions();
// @todo Determine if any custom things should be loaded for this
TwigUtil::loadFilters();
TwigUtil::loadFunctions();
TwigUtil::loadTags();
Expand Down

0 comments on commit edeb27a

Please sign in to comment.