[TYPO3-core] RFC: cli_dispatch.phpsh
Ernesto Baschny [cron IT]
ernst at cron-it.de
Tue Dec 12 11:26:36 CET 2006
Martin Kutschker wrote: on 11.12.2006 11:09:
>> Type: Bugfix
>>
>> Description:
>>
>> Kasper added the nice "cli_dispatch.phpsh" script to TYPO3 core. I was
>> trying to use it to call some CLI's, but it failed with:
>> (...)
> New version:
>
> * adds SAPI check
> * uses $_SERVER['argv'][0] as first choice
> * sets TYPO3_cliKey correctly (for the benefit of the script)
> * drops unnecessary $BACK_PATH
Appart from the fact that you posted a reverse patch, it looks ok to me.
So +1 and thanks for following that up!
Cheers,
Ernesto
More information about the TYPO3-team-core
mailing list