|
@@ 551-553 (lines=3) @@
|
| 548 |
|
$status = $this->getRegistryProcessor()->getAttribute($this->getSerial()); |
| 549 |
|
|
| 550 |
|
// query whether or not the configured source directory is available |
| 551 |
|
if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
| 552 |
|
throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
| 553 |
|
} |
| 554 |
|
|
| 555 |
|
// initialize the file iterator on source directory |
| 556 |
|
$fileIterator = new \FilesystemIterator($sourceDir); |
|
@@ 706-708 (lines=3) @@
|
| 703 |
|
$status = $this->getRegistryProcessor()->getAttribute($this->getSerial()); |
| 704 |
|
|
| 705 |
|
// query whether or not the configured source directory is available |
| 706 |
|
if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
| 707 |
|
throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
| 708 |
|
} |
| 709 |
|
|
| 710 |
|
// init file iterator on source directory |
| 711 |
|
$fileIterator = new \FilesystemIterator($sourceDir); |