[TYPO3-core] RFC: #0012377:Bug: Allow to overwrite cli arguments
Francois Suter
fsu-lists at cobweb.ch
Fri Nov 6 19:04:29 CET 2009
Hi Michael,
> Problem:
> Currently there is no way to overwrite the used cli arguments from the
> class who extends from the t3lib_cli.
>
> This occurs because the t3lib_cli connects hardcoded to the
> $_SERVER['argv'] array. This is in some situations very unhandy - e.g.
> trigger lowlevel cleaner during a scheduler task.
>
> Solution:
> Implement a public setter method to overwrite the default $_SERVER['argv'].
I like the basic idea of your patch and fully agree with it. However I
think it comes a bit late in the development cycle of 4.3 and we should
really wait for 4.4. Furthermore it should be seen in a larger picture
of having scheduler tasks for all lowlevel scripts (at least wherever
applicable).
Please raise this topic again after the release of 4.4, if that's ok
with you.
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-team-core
mailing list