[FLOW3-general] How to determine the context in a command controller?

Mario Rimann mario.rimann at typo3.org
Wed Jun 13 22:56:29 CEST 2012


Hi

I'm building some lowlevel commands to prepare a defined set of dummy
data during development (and another method for destroying that stuff
again). How can I detect the context and exit as soon as the command
controller is called from outside of the Development context?

It seems like $_ENV and $_SERVER don't contain any reference to the
context and I couldn't find it in the request object yet.

Cheers,
Mario


More information about the FLOW3-general mailing list