[TYPO3-core] Making use of the cli dispatcher script

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Dec 14 17:33:43 CET 2006

Martin Kutschker wrote: on 14.12.2006 17:11:
> Ernesto Baschny [cron IT] schrieb:
>> So +1 for Martin's suggestion, and +1 for any name ending with "*.php"
>> but having some hint that they shouldn't be called directly from the
>> webbrowser (e.g. "*.cli.php"). -1 for any other ending.
> The check for the CLI API is in cli_dispatch.php.

True, the files called by cli_dispatch are just classes anyway, so they
are already identified as "non-directly-executable". So the .cli.php
name would just apply to cli_dispatch.php anyway, right? And there
should not be any other "*.cli.php" file in the core, just classes that
are dispatched by the cli_dispatcher.

I only see the following in SVN-trunk:


The first could be changed to a cli_dispatch class and the latter could
be removed, as it doesn't seem to do anything anyway.


More information about the TYPO3-team-core mailing list