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

Susanne Moog typo3 at susannemoog.de
Fri Oct 9 16:17:30 CEST 2009


Hi Steffen,

+1 by reading and testing.


Best regards,

Susanne

Steffen Gebert schrieb:
> 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
> 


-- 
Susanne Moog
NEUSTA GmbH - www.neusta.de


More information about the TYPO3-team-core mailing list