Issue Feature Closed

#25709Need to add possibility to change the file size limitation for INCLUDE_TYPOSCRIPT

Rastislav Birka 04/01/11, 15:19 updated 10/02/18, 12:40

Description

The limit for size of INCLUDE_TYPOSCRIPT files is currently hardcoded to 100KB.

Now it’s directly in script class.t3lib_tsparser.php function checkIncludeLines: if (@is_file($filename) && filesize($filename) < 100000).

The suggestion is to add this as a BE constant, e.g. $GLOBALS[‘TYPO3_CONF_VARS’][‘SYS’][‘maxFileSizeForIncludeTyposcript’]

Reviews 1