Project

General

Profile

Bug #21044 » 11937.diff

Administrator Admin, 2009-11-04 16:18

View differences:

typo3/init.php (Arbeitskopie)
// *******************************
// Set error reporting
// *******************************
error_reporting (E_ALL ^ E_NOTICE);
if (version_compare(phpversion(), '5.3', '>=')) {
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
} else {
error_reporting(E_ALL ^ E_NOTICE);
}
// *******************************
// Prevent any unwanted output that may corrupt AJAX/compression. Note: this does
typo3/sysext/cms/tslib/index_ts.php (Arbeitskopie)
// *******************************
// Set error reporting
// *******************************
error_reporting (E_ALL ^ E_NOTICE);
if (version_compare(phpversion(), '5.3', '>=')) {
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
} else {
error_reporting(E_ALL ^ E_NOTICE);
}
// ******************
(1-1/5)