[TYPO3-core] RFC: CLI dispatcher doesn't work with CGI API
martin.kutschker-n0spam at no5pam-blackbox.net
Mon Jul 16 22:53:01 CEST 2007
Andreas Otto schrieb:
> Hi Masi,
> Martin Kutschker wrote:
>> Ah! Too bad it's no good for Windows. So shall we change "#! /usr/bin/php"
>> to "#! /usr/bin/env php" which moves the dependency to env.
> I guess it was last year same list when I posted a recommendation which
> would be free of any hassles for a TYPO3 admin.
> Anyway calling the CLI dispatcher is possible without modifying the script
> dkd-otto:~>cd /srv/typo3-scm.gimli.local/htdocs/typo3/; /usr/bin/php
> cli_dispatch.phpsh crawler_im 1 -d=3 -proc=tx_indexedsearch_reindex -o=exec
> The above example overwrites the #! command.
> Plus, this works on win32 as well.
No surprise. We're talking about the fact that people want for some
reason to call the script directly. IMHO this is not necessary. That's
why I want to use *.php and not *.phpsh to signify it MUST be called as
paramter to php/php.exe.
More information about the TYPO3-team-core