Project

General

Profile

Actions

Bug #23716

closed

File module uses PATH_site in links

Added by Georg Ringer over 13 years ago. Updated over 9 years ago.

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

0%

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

Description

I just considered, that the file-modul in all links (not at the tree) passes the whole absolute file or folder path in the link.

FE: Context-Menu, Link at the Icon of an folder, entering the folder etc.

Therefore every editor can easily read PATH_site. There's no need to work with absolute paths in fileadmin

additional comment by Marcus:
-------
The solution is not that obvious like it seems. There are at least two
possible locations PATH_site . '/fileadmin' & ['BE']['lockRootPath'] .
'fileadmin'. (or similar - haven't checked it right now)

working with relative path below PATH_site without considering
lookrootpath won't work
-----
(issue imported from #M15973)

Actions

Also available in: Atom PDF