[TYPO3-core] RFC: #0012377:Bug: Allow to overwrite cli arguments
Michael Klapper
mick.mail.typo3 at googlemail.com
Wed Oct 28 11:47:30 CET 2009
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=12377
Branches:
trunk
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'].
Notes:
n/a
Thanks,
Mick
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cli_arguments.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091028/78d2daf4/attachment.txt>
More information about the TYPO3-team-core
mailing list