[TYPO3-core] RFC: CLI dispatcher doesn't work with CGI API

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Jul 18 09:37:44 CEST 2007


Robert Lemke schrieb:
> 
> Am 17.07.2007 um 15:37 schrieb Andreas Otto:
> 
>> And if we check inside the script if argv[0] is set to execute the 
>> script or
>> die with an error message all is fine.
> 
> better:
> 
> if (php_sapi_name() !== 'cli') die();

Please read the start of this thread.

Masi


More information about the TYPO3-team-core mailing list