Bug #25023
closedSetting uploadfolder to an empty string will break functionality
0%
Description
On TYPO3 =< 4.4 it was possible to set the uploadfolder to an empty string. Result was, that no copies of files (to uploads/pics or whatever) were made and a hard link to the original resource was set.
This seems to be broken since 4.5. but worked fine in 4.4.6
Pro:
- Files won't be duplicated and won't consume more diskspace
- Files can be replaced and every instance gets replaced after clearing cache (can be con)
Con:
- If the original file is deleted or changed, every instance is changed (can be a pro)
Since i have no clue where this functionality is built into the core, i have not figured out why its not working yet.
extTables.php:
$GLOBALS['TCA']['tt_content']['columns']['image']['config']['uploadfolder'] = '';
$GLOBALS['TCA']['pages']['columns']['media']['config']['uploadfolder'] = '';
$GLOBALS['TCA']['pages_language_overlay']['columns']['media']['config']['uploadfolder'] = '';
TypoScript setup:
tt_content.image.20.imgPath >
(issue imported from #M17568)
Updated by Sigfried Arnold almost 14 years ago
Not a bug:
Issue had to do with "Include Static Templates After Basis Templates" - CSS Styled Content was in a Basis Template and of course overwrote the change i made to the imgPath - this is obviously not the case if you use a fresh and clean Installation.
Issue can be closed.
Updated by Chris topher almost 14 years ago
Thanks for the feedback, Sigfried.
Closed.