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

Robert Lemke robert at typo3.org
Tue Jul 17 21:38:44 CEST 2007

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.


if (php_sapi_name() !== 'cli') die();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Signierter Teil der Nachricht
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070717/14530284/attachment.pgp 

More information about the TYPO3-team-core mailing list