[FEATURE] Hardcoded CLI arguments from $_SERVER vars 29/18929/5
authorBenjamin Mack <benni@typo3.org>
Thu, 14 Mar 2013 23:15:48 +0000 (00:15 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 19 Mar 2013 19:44:41 +0000 (20:44 +0100)
commitd813bd84def52c99b2ed0b1a712cca6396f38ac7
tree8f8e086ceb7339de5d3f90695416c98f9e4b4478
parent8b8118fd79e6bfb9625b99bf9895be14b185a223
[FEATURE] Hardcoded CLI arguments from $_SERVER vars

Currently there is no way to overwrite the used CLI
arguments from the class who extends from the
\TYPO3\CMS\Core\Controller\CommandLineController

This occurs because the
\TYPO3\CMS\Core\Controller\CommandLineController connects
hardcoded to the $_SERVER['argv'] array. This is in
some situations very unhandy - e.g. trigger lowlevel
cleaner during a scheduler task.

Kudos to AOE, Michael Klapper and Tolleiv Nietsch!

Resolves: #21389
Releases: 6.1
Change-Id: I42c14d37e8e7f977b3c7e73b0009e6c8495c3258
Reviewed-on: https://review.typo3.org/18929
Reviewed-by: Dmitry Dulepov
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Controller/CommandLineController.php
typo3/sysext/lowlevel/Classes/CleanerCommand.php