0

有没有办法让我们在后端上传 FAL 中的 doc 和 excel 文件?例如,我们在 TCA 中有这个

\TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => [
    'showitem' => '
    --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
    --palette--;;filePalette',
],

但没有FILETYPE_DOCUMENT或类似的东西

4

1 回答 1

1

允许上传的文件类型通常在 Installtool 中调整,位于[BE][fileDenyPattern].
在版本 8.7 中,默认条目是\.(php[3-7]?|phpsh|phtml|pht)(\..*)?$|^\.htaccess$避免访问 php-files 和.htaccess.

对于 TCA 设置,请查看此处:https
://docs.typo3.org/typo3cms/TCAReference/ColumnsConfig/Type/Input.html#linkpopup 提到通常没有配置限制。

于 2018-08-18T12:39:33.760 回答