[TYPO3-core] RFC: #10660: "Click to remove the file now!" to remove ENABLE_INSTALL_TOOL only when file is writeable

Steffen Gebert steffen at steffen-gebert.de
Wed Mar 11 14:31:45 CET 2009


Hi list,

This is an SVN patch request.

Type: Bug

Bugtracker reference:
http://bugs.typo3.org/view.php?id=10660

Branches: 4.2, trunk

Problem:
#5788 introduced a nice link to remove the ENABLE_INSTALL_TOOL file directly 
in the nag-box in About Modules.
Unfortunately the link "Click to remove the file now!" is also displayed, if 
the webserver user has no rights to delete the file at all.

Solution:
Add check is_writable()

Thanks for your review!
Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10660.patch
Type: text/x-patch
Size: 845 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090311/45eeb22c/attachment.bin 


More information about the TYPO3-team-core mailing list