Actions
Feature #23885
closedUploads outside of DOCUMENT_ROOT
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-10-31
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:
Description
I have Userpics and dont want to save them out of DOCUMENT_ROOT.
To do this i just tried this in:
class.t3lib_tcemain.php
Line: 6616
function destPathFromUploadFolder($folder) {
// old version
return PATH_site.$folder;
// new version
return realpath(PATH_site.$folder);
}
After this change you can specify an uploadfolder in TCA like: '../pathtouploadfolder/'
There is also some Versioning stuff in filehandling on Line 1623.
Replace this with: $valueArray[$key] = $dest.$theFile;
(issue imported from #M16186)
Updated by Riccardo De Contardi over 10 years ago
- Target version deleted (
0)
Could it be closed after the introduction of FAL?
Updated by Carsten Bleicker over 10 years ago
Funny,
this is 3 years old.
I can't remember this.
But i dont think so because still strict path_site is used:
typo3_src/typo3/sysext/core/Classes/DataHandling/DataHandler.php:6509
typo3_src/typo3/sysext/core/Classes/Database/ReferenceIndex.php:909
Updated by Mathias Schreiber almost 10 years ago
- Description updated (diff)
- Status changed from New to Closed
Actions