[TYPO3-core] RFC: #11368: ENABLE_INSTALL_TOOL file should be ignored if older than one hour

Martin Kutschker masi-no at spam-typo3.org
Tue Jun 23 16:20:16 CEST 2009


Michael Stucki schrieb:
> Hi Ernesto,
> 
>> But call the "unlink" with @ to avoid a warning if it fails, because I
>> guess many will simply create the file as "root" (on development
>> machines) to avoid it from being deleted by the webserver. :)
> 
> I think it's a bad habit and we should stop suppressing warnings.
> Reason: No warning is displayed as long as display_errors is turned off.
> However, if the error is suppressed, also the error_log won't indicate
> any errors.

I think that depends on your error handling. If you do not wish to
handle the error properly in the code you may garble the output or flood
the log.

I simply dislike the habit of PHP to emit warning/error strings in the
output.

Masi


More information about the TYPO3-team-core mailing list