[TYPO3-core] RFC: cli_dispatch.phpsh

Ingmar Schlecht ingmar at typo3.org
Thu Dec 7 13:11:33 CET 2006


Hi Ernesto,

what was the result of this discussion? Has anything been committed yet?

cheers
Ingmar

Michael Stucki schrieb:
> Martin Kutschker wrote:
>> Check $_SERVER['argv'][0] first and then do a fallback to $_ENV['_'] and
>> $_SERVER['_'].
> 
> +1, but not tested. Would this also work if the script is still called from a 
> browser? I think this should be possible, even for shell scripts... (But 
> maybe a wrapper is needed for this?)
> 
> This will probably become something similar to the PATH_thisScript detection 
> in index_ts.php...
> 
> - michael


More information about the TYPO3-team-core mailing list