Project

General

Profile

Actions

Feature #37084

closed

t3lib_TStemplate::getFileName() can't find uploaded files from BE environment

Added by Tobias Knab over 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2012-05-11
Due date:
% Done:

0%

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

Description

The realtive test of the upload files does not work from the BE environment. The is_file check should therefore be done with an absolute filepath. This would require the source code be modified as follows:

Line 1099:
[-] if (@is_file($this->uplPath . $outFile)) {
[+] if (@is_file(PATH_site . $this->uplPath . $outFile)) {

Actions

Also available in: Atom PDF