[TYPO3-core] RFC #11474: Store separate extlist for the frontend

Martin Kutschker masi-no at spam-typo3.org
Fri Jul 17 10:15:33 CEST 2009


Francois Suter schrieb:
> Hi,
> 
>> Better idea:
>>     'modes' => 'FE,BE,CLI',
> 
> But "CLI" doesn't correspond to a TYPO3_MODE. When running a CLI script
> the TYPO3_MODE is BE. The CLI "context" is identified by setting the
> TYPO3_cliMode constant to true. So we're not really able to run "pure"
> CLI scripts IMO.

Maybe we should have introduced a TYPO3_SUBMODE or TYPO3_CONTEXT
constant. For mode "BE" the submodes/contexts are CLI and AJAX.

Masi


More information about the TYPO3-team-core mailing list