[TYPO3-core] RFC: Bug #5985 - warning when CURLOPT_FOLLOWLOCATION is set

Ingo Renner typo3 at ingo-renner.com
Tue Aug 7 08:17:03 CEST 2007


Martin Kutschker wrote:
> Hi!
> 
> Branches: trunk, TYPO3_4-1
> 
> Problem: Since PHP 5.2.0, 5.1.5 and 4.4.4 (see PHP Changelog) 
> CURLOPT_FOLLOWLOCATION is not allowed when open_basedir or safe_mode are 
> enabled. curl_setopt() will issue a warning in this case.
> 
> Solution: suppress output with @.

I'm not a big fan of suppressing error messages. Especially if they want 
to tell you that something is wrong or not working properly.

Please add at least a log message or something similar somewhere.


Ingo


More information about the TYPO3-team-core mailing list