[TYPO3-dev] Hard-coded sizelimit for TypoScript inlucde files in t3lib/class.t3lib_tsparser.php->checkIncludeLines
Mathias Schreiber [wmdb >]
mathias.schreiber at wmdb.de
Fri Dec 4 15:58:27 CET 2009
Andreas Kundoch schrieb:
> 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?
I'd go with educative reasons.
100kb of TS in one file and you're doing A LOT wrong.
--
TYPO3 certified interogator
T3DD09 Entertainer
More information about the TYPO3-dev
mailing list