Project

General

Profile

Actions

Bug #58456

closed

Remove hardcoded calling script in help controller

Added by Helmut Hummel almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2014-05-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The Extbase help command controller has the calling
script hardcoded in several places. This may cause
confusion if the calling script was different.

Use the real script from argv0 instead.

This e.g. changes the output to the full path if the cli dispatcher is called with "$PWD/typo3/cli_dispatch.phpsh"
or prepends the PHP binary path if called with "php $PWD/typo3/cli_dispatch.phpsh"

Actions

Also available in: Atom PDF