Diff for mylist/backend/receiver/receiver.php between version 1.14 and 1.15
| version 1.14, 2005/05/02 18:55:00 |
version 1.15, 2005/05/02 19:08:26 |
|
|
| <?php |
<?php |
| |
|
| // $Platon: mylist/backend/receiver/receiver.php,v 1.13 2005/05/02 18:52:15 majo Exp $ |
// $Platon: mylist/backend/receiver/receiver.php,v 1.14 2005/05/02 18:55:00 majo Exp $ |
| |
|
| require_once dirname(__FILE__).'/validator.php'; |
require_once dirname(__FILE__).'/validator.php'; |
| require_once dirname(__FILE__).'/../../mylist.config.php'; |
require_once dirname(__FILE__).'/../../mylist.config.php'; |
| Line 464 class CReceiver { |
|
| Line 464 class CReceiver { |
|
| foreach ($this->validator->emailMessage->structure->parts as $part) |
foreach ($this->validator->emailMessage->structure->parts as $part) |
| { |
{ |
| |
|
| if (isset($part->disposition) and ($part->disposition=='attachment') and (StrLen($part->body) <= $max_size)) |
if (isset($part->disposition) and ($part->disposition=='attachment') and ((StrLen($part->body) <= $max_size) || ($max_size == 0) )) |
| { |
{ |
| $filename = $part->d_parameters['filename']; |
$filename = $part->d_parameters['filename']; |
| if ($filename == "") |
if ($filename == "") |
Platon Group <platon@platon.org> http://platon.org/
|
|