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

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Aug 20 12:06:43 CEST 2008


Hi!

This is SVN patch request.

Type: bug

Branches: 4.1, 4.2, trunk

BT reference: http://bugs.typo3.org/view.php?id=8826

Problem: if ini_set() is disabled by PHP configuration, it may produce warnings. These warning will prevent click menu from appearing.

Solution: trivial, use @ in front of ini_set() and ini_restore() to mask warnings.

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/should_abbreviations_be_used_in_the_code/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8826.diff
Type: text/x-diff
Size: 2386 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080820/cd9160f1/attachment.diff 


More information about the TYPO3-team-core mailing list