[TYPO3-core] RFC #14343 - Flash message when install tool enable file has been deleted/created

Lars Houmark lars at houmark.com
Mon May 10 00:38:41 CEST 2010


Jigal van Hemert wrote:
> Version 2 with test if action succeeded or not and OK/ERROR flash message.
>
> On Windows you can test failure of delete action by making
> ENABLE_INSTALL_TOOL file read only. On *nix some chown/chmod action will
> suffice.
>

+1 on reading and testing.

And with that just a wonder. It seems a bit heavy to include the 
instance of the t3lib_FlashMessage both within the if and the else. But 
it seems very little code/chars is saved by having variables that will 
be added to the instance after the if/else.

-- 
Lars Houmark



More information about the TYPO3-team-core mailing list