|
@@ 535-537 (lines=3) @@
|
| 532 |
|
$status = $this->getRegistryProcessor()->getAttribute($this->getSerial()); |
| 533 |
|
|
| 534 |
|
// query whether or not the configured source directory is available |
| 535 |
|
if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
| 536 |
|
throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
| 537 |
|
} |
| 538 |
|
|
| 539 |
|
// initialize the file iterator on source directory |
| 540 |
|
$fileIterator = new \FilesystemIterator($sourceDir); |
|
@@ 686-688 (lines=3) @@
|
| 683 |
|
$status = $this->getRegistryProcessor()->getAttribute($this->getSerial()); |
| 684 |
|
|
| 685 |
|
// query whether or not the configured source directory is available |
| 686 |
|
if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
| 687 |
|
throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
| 688 |
|
} |
| 689 |
|
|
| 690 |
|
// init file iterator on source directory |
| 691 |
|
$fileIterator = new \FilesystemIterator($sourceDir); |