Skip to content

Commit 58b0edc

Browse files
committed
[BUGFIX] Disable FE debug output
To reduce troubles, especially with different content types, we disallow TYPO3 frontend rendering to add something to the content. Fixes #70
1 parent e9ede26 commit 58b0edc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Classes/Middleware/TypoScriptRenderingMiddleware.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
4242
}
4343
$this->ensureRequiredEnvironment();
4444

45+
$frontendController->config['config']['debug'] = 0;
4546
$frontendController->config['config']['disableAllHeaderCode'] = 1;
4647
$frontendController->pSetup = [
4748
'10' => 'TYPOSCRIPT_RENDERING',

0 commit comments

Comments
 (0)