[TYPO3-core] RFC: fix bug #1986

Michael Stucki michael at typo3.org
Sat Jan 14 02:11:24 CET 2006


Hi Martin,

> Problem: In t3lib_db the connect and the db select issues PHP warning when
> it fails.
> 
> Solution: use @ and log the error in the error log (see other patch).

+1

> PS: There are some die()s in the code which IMHO should also be removed.
> Looking at the code I think the proper resoluition for them is simply to
> call devLog as the failures are non-fatal.

I only found two which are pretty easy I think. I think we can just keep the
die() calls because this does not happen during the production phase, but
only during development.

- 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