|
@@ 533-535 (lines=3) @@
|
| 530 |
|
$status = $this->getRegistryProcessor()->getAttribute($this->getSerial()); |
| 531 |
|
|
| 532 |
|
// query whether or not the configured source directory is available |
| 533 |
|
if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
| 534 |
|
throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
| 535 |
|
} |
| 536 |
|
|
| 537 |
|
// initialize the file iterator on source directory |
| 538 |
|
$fileIterator = new \FilesystemIterator($sourceDir); |
|
@@ 612-614 (lines=3) @@
|
| 609 |
|
$status = $this->getRegistryProcessor()->getAttribute($this->getSerial()); |
| 610 |
|
|
| 611 |
|
// query whether or not the configured source directory is available |
| 612 |
|
if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
| 613 |
|
throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
| 614 |
|
} |
| 615 |
|
|
| 616 |
|
// init file iterator on source directory |
| 617 |
|
$fileIterator = new \FilesystemIterator($sourceDir); |