diff --git a/config.inc.php3 b/config.inc.php3 index 6182ce73d..64dd01f2a 100755 --- a/config.inc.php3 +++ b/config.inc.php3 @@ -8,8 +8,10 @@ * All directives are explained in Documentation.html */ -// Sets the php error reporting - Please do not change this line! -error_reporting(E_ALL); +/** + * Sets the php error reporting - Please do not change this line! + */ +$old_error_rep = error_reporting(E_ALL); /** @@ -301,4 +303,10 @@ if ($cfg['ShowFunctionFields']) { * Unset magic_quotes_runtime - do not change! */ set_magic_quotes_runtime(0); + +/** + * Restore old error_reporting mode - do not change either! + */ +error_reporting($old_error_rep); +unset($old_error_rep); ?>