Sources/Subs-Attachments.php 1 location
|
@@ 408-410 (lines=3) @@
|
| 405 |
|
$_SESSION['temp_attachments']['initial_error'] = $initial_error; |
| 406 |
|
|
| 407 |
|
// And delete the files 'cos they ain't going nowhere. |
| 408 |
|
foreach ($_FILES['attachment']['tmp_name'] as $n => $dummy) |
| 409 |
|
if (file_exists($_FILES['attachment']['tmp_name'][$n])) |
| 410 |
|
unlink($_FILES['attachment']['tmp_name'][$n]); |
| 411 |
|
|
| 412 |
|
$_FILES['attachment']['tmp_name'] = array(); |
| 413 |
|
} |
Sources/Attachments.php 1 location
|
@@ 215-217 (lines=3) @@
|
| 212 |
|
if (!empty($this->_generalErrors)) |
| 213 |
|
{ |
| 214 |
|
// And delete the files 'cos they ain't going nowhere. |
| 215 |
|
foreach ($_FILES['attachment']['tmp_name'] as $n => $dummy) |
| 216 |
|
if (file_exists($_FILES['attachment']['tmp_name'][$n])) |
| 217 |
|
unlink($_FILES['attachment']['tmp_name'][$n]); |
| 218 |
|
|
| 219 |
|
$_FILES['attachment']['tmp_name'] = array(); |
| 220 |
|
|