[TYPO3-core] RFC: CLI dispatcher doesn't work with CGI API
karsten at typo3.org
Wed Jul 18 20:14:03 CEST 2007
On 18.07.2007, at 10:37, Martin Kutschker wrote:
> Robert Lemke schrieb:
>> if (php_sapi_name() !== 'cli') die();
> Please read the start of this thread.
Well, the suggested function should be the most reliable way of
checking the way a script has been called. It also allows to check
And more, see: http://lv2.php.net/manual/en/function.php-sapi-name.php
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 304 bytes
Desc: This is a digitally signed message part
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070718/0d661f95/attachment.pgp
More information about the TYPO3-team-core