[TYPO3-core] RFC: 0008112: Adding dontShowDebugOutput Option to INSTALL TOOL using in t3lib_div debug functions

Michael Stucki michael at typo3.org
Sun Apr 13 23:49:42 CEST 2008


Hi Sebastian,

I'm against the change for two reasons:

> Type: feature

1. It's a feature (no new features in 4.2 at this point, you would have to
wait until work on 4.3 starts).

> BT reference: http://bugs.typo3.org/view.php?id=8112
> 
> Problem:
> While developing extension you use t3lib_div::debug* functions for
> showing output in the frontend. If you miss to delete one debug function
> after developing, it could happen that debug output shows up LIVE.

2. Calling t3lib_div::debug() directly is against the intended use of it.

Have a look at the function debug() which is defined in
t3lib/config_default.php. What it does it fairly simple:

- Check if devIPmask matches
- If yes, call t3lib_div::debug()

So actually it makes perfect sense that t3lib_div::debug() outputs
everything directly - you are just calling the wrong function to use it...

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list