[FLOW3-general] Setting FLOW3 Context

Zachary Davis zach at castironcoding.com
Fri Jan 20 05:25:03 CET 2012


D'oh. Should have spent less time looking at documentation and more time 
looking at code. I found the answer (I think) and will post it here for 
others:

Context is picked up in Web/index.php (from the FLOW3_CONTEXT env 
variable set in apache conf or htaccess). For the CLI interface, it 
comes from, not surprisingly, a shell environment variable.


Zach Davis wrote:
> I've looked high and low but haven't found info on how to set FLOW3
> context other than setting it in apache conf or in htaccess. This is
> fine for web requests, but the CLI won't know that it's in the
> production context. Could somebody tell me how I can set the context in
> such a way that the FLOW3 CLI context will be correct as well?
>
> Zach


More information about the FLOW3-general mailing list