[TYPO3-core] RFC #12119: PHP warning shown in EM, if webserver can't remove extension dir
Rupert Germann
rupi at gmx.li
Thu Oct 8 22:59:12 CEST 2009
Hi Steffen
+1 by reading and testing
greets
rupert
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
>
More information about the TYPO3-team-core
mailing list