Project

General

Profile

Actions

Bug #21389

closed

Allow to overwrite cli arguments

Added by Michael Klapper about 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-10-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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.

(issue imported from #M12377)


Files

cli_arguments.patch (2.04 KB) cli_arguments.patch Administrator Admin, 2009-10-28 11:43
cli.diff (1.99 KB) cli.diff Administrator Admin, 2009-10-28 16:02
Actions

Also available in: Atom PDF