Skip to content
Snippets Groups Projects
Commit 252dc38d authored by Andy Grunwald's avatar Andy Grunwald Committed by Christian Kuhn
Browse files

[TASK] Error reporting is set twice in bootstrap

In index.php AND typo3/sysext/cms/tslib/index_ts.php
(which will be included in index.php) the error reporting
is set to E_ALL ^ E_NOTICE ^ E_DEPRECATED.

The set command in typo3/sysext/cms/tslib/index_ts.php is
obsolete, because this has no further effect.
This will be set in the previous index.php as well.

Result: Less code to maintain

See also #35003, #35017 and #35019

Change-Id: I52341366fab6231a78acd394c09bfa67de1108e9
Fixes: #35023
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/9763
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
parent fb19a08b
No related merge requests found
......@@ -42,11 +42,6 @@
// *******************************
if (version_compare(phpversion(), '5.3', '<')) die ('TYPO3 requires PHP 5.3.0 or higher.');
// *******************************
// Set error reporting
// *******************************
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
// ******************
// Constants defined
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment