[TYPO3-core] RFC #5260:Function linkWrapFile() in file class.file_list.inc uses wrong PATH prefix

Helmut Hummel helmut at typo3.org
Fri Dec 25 13:48:47 CET 2009

Am 25.12.09 10:31, schrieb Benjamin Mack:
> merry christmas! 


> Problem:
> When clicking on a file in the file list, it opens up the file in a new
> window. The opening link is calculated wrong though, as it takes the
> absolute path and strips the DOCUMENT_ROOT path from it, making this to
> NOT work on any TYPO3 installation that is not installed on the
> Solution:
> Taking the PATH_site instead of the Document Root does the trick.
> Steps to reproduce:
> Have an installation under
> http://localhost/~myuser/myinstallation/
> then try open up a file in the filelist by clicking on the file name.

+1 by reading and testing


More information about the TYPO3-team-core mailing list