Skip to content

Commit

Permalink
Merge pull request #176 from t3n/bugfix/debug-output-production
Browse files Browse the repository at this point in the history
BUGFIX: Don’t render debug output in production when htmloutput is disabled
  • Loading branch information
Sebobo authored Aug 15, 2023
2 parents 90698e9 + decdfc7 commit 0483655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Aspect/ContentCacheSegmentAspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function injectContentCache(ContentCache $contentCache): void
}

/**
* @Flow\Pointcut("setting(t3n.Neos.Debug.enabled)")
* @Flow\Pointcut("setting(t3n.Neos.Debug.enabled) && setting(t3n.Neos.Debug.htmlOutput.enabled)")
*/
public function debuggingActive(): void
{
Expand Down

0 comments on commit 0483655

Please sign in to comment.