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 #1

Updated by Oliver Klee about 15 years ago

I've attached a cleanup up version of the patch.

Actions #2

Updated by Gerrit Code Review over 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18929

Actions #3

Updated by Gerrit Code Review over 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18929

Actions #4

Updated by Gerrit Code Review over 11 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18929

Actions #5

Updated by Gerrit Code Review over 11 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18929

Actions #6

Updated by Benni Mack over 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF