Project

General

Profile

Bug #17036 » 5060_class.t3lib_formmail.php.diff

Administrator Admin, 2007-03-10 01:09

View differences:

L:/x-htdocs/t3/41dev/t3lib/class.t3lib_formmail.php (working copy)
$theName = $_FILES[$varname]['name'];
if ($theFile && @file_exists($theFile)) {
if (filesize($theFile) < 250000) {
if (filesize($theFile) < $TYPO3_CONF_VARS['FE']['maxMailAttachmentSize']) {
$this->addAttachment($theFile, $theName);
}
}
(2-2/2)