[TYPO3-dev] Hard-coded sizelimit for TypoScript inlucde files in t3lib/class.t3lib_tsparser.php->checkIncludeLines

Andreas Kundoch Andreas.Kundoch at mehrwert.de
Fri Dec 4 13:19:45 CET 2009


Hi,

does anybody know why the limit of TypoScript inlucde files has been 
hardcoded and set to 100KB in 
t3lib/class.t3lib_tsparser.php->checkIncludeLines?

The line reads:

if (@is_file($filename) && filesize($filename)<100000)	{
// Max. 100 KB include files!

but no further comment about the limit. Has this been done because of 
performance reasons or memory limits? Any info on this?

Thanks!
Andreas




More information about the TYPO3-dev mailing list