Project

General

Profile

Actions

Bug #23276

closed

Use t3lib_div::getIndpEnv('SCRIPT_FILENAME') to determine PATH_thisScript

Added by Nikolas Hagelstein over 13 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-07-27
Due date:
% Done:

0%

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

Description

Currently PATH_thisScript is checked/defined in several files using a pretty ugly "monster clause chain"

Changing this to t3lib_div::getIndpEnv('SCRIPT_FILENAME') makes things more readable and maintainable.

This is a pre-condition for resolving:

http://bugs.typo3.org/view.php?id=15241

(issue imported from #M15246)


Files

sapi.diff (7.72 KB) sapi.diff Administrator Admin, 2010-07-27 12:11

Related issues 1 (0 open1 closed)

Precedes TYPO3 Core - Bug #23271: Recognize php-fpm sapi for path generation.ClosedFrancois Suter2010-07-282010-07-28

Actions
Actions #1

Updated by Alexander Opitz over 10 years ago

  • Status changed from New to Closed
  • Target version deleted (0)
  • TYPO3 Version set to 4.4
  • Is Regression set to No

The issue #23271 is already solved, for which this issue is a pre-condition. Also defining of the PATH_thisScript has changed to a nice looking one. So issue already solved.

Actions

Also available in: Atom PDF