[TYPO3-core] RFC #10092: Feature: Add a logging API for deprecated functions

Stefan Geith typo3dev2008.nospam1 at geithware.de
Mon Jan 26 11:50:52 CET 2009


Oliver Hader schrieb:
> ...
>>
>> 	if (defined('E_USER_DEPRECATED')) {
>> 		trigger_error($errorMsg, E_USER_DEPRECATED);
>> 	} else {
>> 		trigger_error($errorMsg, E_USER_NOTICE);
>> 	}
> 
> Thanks for this feature. However, I'd like to see a possibility in
> TYPO3_CONF_VARS to disable the triggering of errors. 

For now, I disabled it only for the BE by adding
   if (TYPO3_MODE=='FE') trigger_error...

Maybe this should be an option:
- disable completely
- enable for FE
- enable for BE
- enable completely


-
Stefan


More information about the TYPO3-team-core mailing list