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 #1

Updated by Susanne Moog over 12 years ago

  • Status changed from New to Needs Feedback

Thanks for your contribution. If you want to help to get this bug fixed, you can push it to Gerrit. Find a tutorial at http://wiki.typo3.org/Contribution_Walkthrough_Tutorials

Please also add more information on how to reproduce the bug (steps necessary to see it) to this bug report.

Actions #2

Updated by Alexander Opitz over 11 years ago

  • Status changed from Needs Feedback to Closed
  • Target version deleted (4.7.1)

No feedback for over 90 days.

Actions

Also available in: Atom PDF