Skip to content

Commit

Permalink
Merge 5647947 into 304e1d0
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Apr 7, 2020
2 parents 304e1d0 + 5647947 commit ea5c995
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/View/TwigView.php
Expand Up @@ -113,7 +113,9 @@ public function initialize(): void
}
}

TwigPanel::setExtensions($this->extensions);
if (Configure::read('debug') && Plugin::isLoaded('DebugKit')) {
TwigPanel::setExtensions($this->extensions);
}
}

/**
Expand Down

0 comments on commit ea5c995

Please sign in to comment.