[TYPO3-english] tcemain and fe extensions

Rik Willems rik at actiview.nl
Mon Feb 22 17:13:16 CET 2010


Hi,

Not using tcemain in fe was clear from the first mail already ;-). I 
generally take your advice carefully, as in this case.
The reason for my reply was to find out why exactly you gave the advice, 
this is clear now too. I didn't intend to use it in fe because currently 
there is no need. I did use it in the cli script though, but that 
initializes as backend, so that is good.

Thanks!


Dmitry Dulepov schreef:
> Hi!
> 
> On 2010-02-22 17:37:59 +0200, Rik Willems said:
>> Thank you for the clear instructions.
>> Is there a security issue involved in using tcemain in fe?
> 
> No, it is not security. Many hooks will expect a fully loaded BE 
> environment. As a result data can become corrupted in places where you 
> do not expect it.
> 
>> I found that hooks do work properly because they are called when 
>> executing tcemain.
> 
> Some do, many will not. If you want to risk, you can do it. I would 
> never do it because it is not what should be done. TCEmain is not for 
> FE. I have no way to stop you from doing this but if you want a good 
> advice: do not use TCEmain in FE. That's all I can say.
> 


More information about the TYPO3-english mailing list