33 'Root node must implement RootNodeInterface',
40 'Structure facade must implement StructureFacadeInterface',
44 return $structureFacade;
54 $filePermission =
$GLOBALS[
'TYPO3_CONF_VARS'][
'BE'][
'fileCreateMask'];
55 $directoryPermission =
$GLOBALS[
'TYPO3_CONF_VARS'][
'BE'][
'folderCreateMask'];
59 'name' => substr(PATH_site, 0, -1),
60 'targetPermission' => $directoryPermission,
63 'name' =>
'index.php',
64 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\LinkNode',
65 'target' =>
'typo3_src/index.php',
69 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\LinkNode',
70 'target' =>
'typo3_src/typo3',
73 'name' =>
'typo3_src',
74 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\LinkNode',
77 'name' =>
'typo3temp',
78 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
79 'targetPermission' => $directoryPermission,
82 'name' =>
'index.html',
83 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\FileNode',
84 'targetPermission' => $filePermission,
85 'targetContent' =>
'',
88 'name' =>
'compressor',
89 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
90 'targetPermission' => $directoryPermission,
94 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
95 'targetPermission' => $directoryPermission,
99 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
100 'targetPermission' => $directoryPermission,
104 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
105 'targetPermission' => $directoryPermission,
109 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
110 'targetPermission' => $directoryPermission,
114 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
115 'targetPermission' => $directoryPermission,
119 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
120 'targetPermission' => $directoryPermission,
124 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
125 'targetPermission' => $directoryPermission,
129 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
130 'targetPermission' => $directoryPermission,
133 'name' =>
'_processed_',
134 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
135 'targetPermission' => $directoryPermission,
140 'name' =>
'typo3conf',
141 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
142 'targetPermission' => $directoryPermission,
146 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
147 'targetPermission' => $directoryPermission,
151 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
152 'targetPermission' => $directoryPermission,
158 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
159 'targetPermission' => $directoryPermission,
162 'name' =>
'index.html',
163 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\FileNode',
164 'targetPermission' => $filePermission,
165 'targetContentFile' => PATH_site .
'typo3/sysext/install/Resources/Private/FolderStructureTemplateFiles/uploads-index.html',
169 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
170 'targetPermission' => $directoryPermission,
173 'name' =>
'index.html',
174 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\FileNode',
175 'targetPermission' => $filePermission,
176 'targetContent' =>
'',
182 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
183 'targetPermission' => $directoryPermission,
186 'name' =>
'index.html',
187 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\FileNode',
188 'targetPermission' => $filePermission,
189 'targetContent' =>
'',
194 'name' =>
'tx_felogin',
195 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
196 'targetPermission' => $directoryPermission,
201 'name' => !empty(
$GLOBALS[
'TYPO3_CONF_VARS'][
'BE'][
'fileadminDir']) ? rtrim(
$GLOBALS[
'TYPO3_CONF_VARS'][
'BE'][
'fileadminDir'],
'/') :
'fileadmin',
202 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
203 'targetPermission' => $directoryPermission,
207 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
208 'targetPermission' => $directoryPermission,
211 'name' =>
'.htaccess',
212 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\FileNode',
213 'targetPermission' => $filePermission,
214 'targetContentFile' => PATH_site .
'typo3/sysext/install/Resources/Private/FolderStructureTemplateFiles/fileadmin-temp-htaccess',
217 'name' =>
'index.html',
218 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\FileNode',
219 'targetPermission' => $filePermission,
220 'targetContentFile' => PATH_site .
'typo3/sysext/install/Resources/Private/FolderStructureTemplateFiles/fileadmin-temp-index.html',
225 'name' =>
'user_upload',
226 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
227 'targetPermission' => $directoryPermission,
231 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
232 'targetPermission' => $directoryPermission,
235 'name' =>
'index.html',
236 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\FileNode',
237 'targetPermission' => $filePermission,
238 'targetContent' =>
'',
241 'name' =>
'importexport',
242 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode',
243 'targetPermission' => $directoryPermission,
246 'name' =>
'.htaccess',
247 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\FileNode',
248 'targetPermission' => $filePermission,
249 'targetContentFile' => PATH_site .
'typo3/sysext/install/Resources/Private/FolderStructureTemplateFiles/fileadmin-user_upload-temp-importexport-htaccess',
252 'name' =>
'index.html',
253 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\FileNode',
254 'targetPermission' => $filePermission,
255 'targetContentFile' => PATH_site .
'typo3/sysext/install/Resources/Private/FolderStructureTemplateFiles/fileadmin-temp-index.html',
262 'name' =>
'index.html',
263 'type' =>
'TYPO3\\CMS\\install\\FolderStructure\\FileNode',
264 'targetPermission' => $filePermission,
265 'targetContent' =>
'',
getDefaultStructureDefinition()
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]