Index: t3lib/config_default.php =================================================================== --- t3lib/config_default.php (révision 9198) +++ t3lib/config_default.php (copie de travail) @@ -530,6 +530,13 @@ $GLOBALS['error']->debugEnd(); } } +// call of the debug control method of the global error object for debugging +// Here you can e.g. change the output of the colors or reset the debug output file to zero. +function debugControl(array $parameters) { + if(is_object($GLOBALS['error']) && @is_callable(array($GLOBALS['error'],'debugControl'))) { + $GLOBALS['error']->debugControl($parameters); + } +}