Project

General

Profile

Actions

Feature #17720

closed

t3lib_div::resolveBackPath : resolving "./" and code cleaning

Added by Popy no-lastname-given about 17 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Miscellaneous
Target version:
-
Start date:
2007-10-24
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

t3lib_div::resolveBackPath resolves "../" in pathes, but not "./" dirs

By the way, some spache are missing around operators

(issue imported from #M6585)


Files

t3lib_div.diff (1.99 KB) t3lib_div.diff Administrator Admin, 2007-10-24 17:48
Actions #1

Updated by Steffen Gebert almost 14 years ago

Aim of resolveBackPath is to get rid of ../, which can be a problem for some systems.

I made some tests with the function to speed it up, as it's called hundreds of times. I would not add an additional string comparison for "./", which is not needed.

Code style has been adjusted in the meanwhile.

Actions

Also available in: Atom PDF