[TYPO3-core] RFC: CLI dispatcher doesn't work with CGI API
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Thu Jul 19 09:52:41 CEST 2007
Karsten Dambekalns schrieb:
> Hi.
>
> 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 against:
> - cgi-fcgi
> - cgi
Sorry, the idea was that the CLI dispatcher may be called via the CGI API,
but not within a HTTP call. The easy way suggested by Robert is already
implemented. But there is a bug report filed, that asks for a change in
hosted enviroments.
Please read the thread and the bug report before replying.
Masi
More information about the TYPO3-team-core
mailing list