Project

General

Profile

Actions

Bug #23276

closed

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

Added by Nikolas Hagelstein over 14 years ago. Updated about 11 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

Also available in: Atom PDF