[TYPO3-core] RFC #12119: PHP warning shown in EM, if webserver can't remove extension dir

Steffen Gebert steffen at steffen-gebert.de
Sun Oct 4 21:07:11 CEST 2009


Hi,

This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=12117

Branches: trunk

Problem:
If user uploaded an extension not using TYPO3 and with permissions, so  
that TYPO3 can't delete the ext-directory, a PHP warning is outputted:
PHP Warning: rmdir(.../typo3conf/ext/.../): Directory not empty in  
.../typo3/mod/tools/em/class.em_index.php on line 4355

Solution:
Add @ to rmdir-calls

Note:
Of course, it's not the best to upload extension and give TYPO3 no access  
rights, but we shouldn't fail with a PHP warning in this case ;-)

Regards
Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12119.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20091004/6a9c7710/attachment.txt 


More information about the TYPO3-team-core mailing list