[TYPO3-english] Automatic new dirs under fileadmin
Bernhard Kraft
kraftb at kraftb.at
Sat Dec 26 11:55:00 CET 2009
Sancar Saran schrieb:
> Is there any way to automatically generate those dirs on extension setup like
> sql tables ?
If you just want to create those directories and not take any further
action on it you could also simply have a look at "ext_emconf.php". This
file defines basic settings about your extension. There you'll find some
lines like the following:
-----------------------------------------------------------------------
'uploadfolder' => 0,
'createDirs' => 'uploads/tx_kbconttable/rte/,fileadmin/testing/subdir',
'modify_tables' => 'tt_content',
-----------------------------------------------------------------------
Simply add all required directories to "createDirs" key, separated by a
comma ","
The path is relative to the TYPO3 site root and needs to have a "/" at the end.
greets,
Bernhard
More information about the TYPO3-english
mailing list