[FEATURE] ext:install Implement template files in FolderStructure 22/24122/5
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 28 Sep 2013 10:57:22 +0000 (12:57 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Sat, 28 Sep 2013 13:39:39 +0000 (15:39 +0200)
commit7d11883f1f64b92de8ecebabc3b76ffe49423dfc
tree9a796f1e9c177029b2b5d30e517d7086f77397e3
parent982a3651bba83b770236526253ce7eb5c4ec6bd4
[FEATURE] ext:install Implement template files in FolderStructure

The folder structure definition can be simplified a bit if target
content of files is not stored in the structure definition array
but moved to template files. This also enables handling of binary
files.
The patch implements an option 'targetContentFile' to FileNode and
adapts the current FolderStructure definition to use it.

Change-Id: I097e87a1f7a16e325b398468286fe661abec3553
Resolves: #52351
Releases: 6.2
Reviewed-on: https://review.typo3.org/24122
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
typo3/sysext/install/Classes/FolderStructure/DefaultFactory.php
typo3/sysext/install/Classes/FolderStructure/FileNode.php
typo3/sysext/install/Resources/Private/.htaccess [new file with mode: 0644]
typo3/sysext/install/Resources/Private/FolderStructureTemplateFiles/fileadmin-temp-htaccess [new file with mode: 0644]
typo3/sysext/install/Resources/Private/FolderStructureTemplateFiles/fileadmin-temp-index.html [new file with mode: 0644]
typo3/sysext/install/Resources/Private/FolderStructureTemplateFiles/uploads-index.html [new file with mode: 0644]
typo3/sysext/install/Tests/Unit/FolderStructure/FileNodeTest.php