Last active
October 21, 2021 10:53
-
-
Save fedir/27464e9fd09bbab60a6892f1c013fda8 to your computer and use it in GitHub Desktop.
TYPO3 Suppress PHP warnings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$GLOBALS['TYPO3_CONF_VARS']['SYS']['displayErrors'] = 0; | |
$GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandlerErrors'] = 22517; // E_ALL ^ E_DEPRECATED ^ E_NOTICE ^ E_WARNING (everything except deprecated-msgs and notices and warnings) | |
$GLOBALS['TYPO3_CONF_VARS']['SYS']['syslogErrorReporting'] = 22517; // E_ALL ^ E_DEPRECATED ^ E_NOTICE ^ E_WARNING (everything except deprecated-msgs and notices and warnings) | |
$GLOBALS['TYPO3_CONF_VARS']['SYS']['belogErrorReporting'] = 22517; // E_ALL ^ E_DEPRECATED ^ E_NOTICE ^ E_WARNING (everything except deprecated-msgs and notices and warnings) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment