[TYPO3-core] RFC: cli_dispatch.phpsh

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Nov 30 09:34:36 CET 2006


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?

The "#! /usr/bin/php -q" will be shown unless you add an ob_clean().

Anyway, none of the three variables is set in my test enviroment 
(apache2handler-SAPI).

Masi


More information about the TYPO3-team-core mailing list