[TYPO3-core] FYI24: #8826: calls to ini_set produces warnings

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Sep 2 10:02:59 CEST 2008


Hi!

Ingo Renner wrote:
> For the file_exists case: Change it to throw exceptions...

How do I change PHP function to throw exceptions? 8-0 file_exists() produces a PHP warning if the file does not exist. Using @ prevents this warning and lets the function work as expected.

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/


More information about the TYPO3-team-core mailing list