|
@@ 2298-2300 (lines=3) @@
|
| 2295 |
|
} else { |
| 2296 |
|
$this->log($table, $id, 5, 0, 1, 'File extension \'%s\' not allowed. (%s)', 12, [$fI['fileext'], $recFID], $propArr['event_pid']); |
| 2297 |
|
} |
| 2298 |
|
} else { |
| 2299 |
|
$this->log($table, $id, 5, 0, 1, 'Filesize (%s) of file \'%s\' exceeds limit (%s). (%s)', 13, [GeneralUtility::formatSize($fileSize), $theFile, GeneralUtility::formatSize($maxSize * 1024), $recFID], $propArr['event_pid']); |
| 2300 |
|
} |
| 2301 |
|
} else { |
| 2302 |
|
$this->log($table, $id, 5, 0, 1, 'The destination (%s) or the source file (%s) does not exist. (%s)', 14, [$dest, $theFile, $recFID], $propArr['event_pid']); |
| 2303 |
|
} |
|
@@ 2391-2393 (lines=3) @@
|
| 2388 |
|
} else { |
| 2389 |
|
$this->log($table, $id, 5, 0, 1, 'File extension \'%s\' not allowed. (%s)', 12, [$fI['fileext'], $recFID], $propArr['event_pid']); |
| 2390 |
|
} |
| 2391 |
|
} else { |
| 2392 |
|
$this->log($table, $id, 5, 0, 1, 'Filesize (%s) of file \'%s\' exceeds limit (%s). (%s)', 13, [GeneralUtility::formatSize($fileSize), $theFile, GeneralUtility::formatSize($maxSize * 1024), $recFID], $propArr['event_pid']); |
| 2393 |
|
} |
| 2394 |
|
// If the destination file was created, we will set the new filename in the value array, otherwise unset the entry in the value array! |
| 2395 |
|
if (@is_file($theDestFile)) { |
| 2396 |
|
// The value is set to the new filename |