@@ 158-160 (lines=3) @@ | ||
155 | clearstatcache(); |
|
156 | ||
157 | // query whether or not the configured source directory is available |
|
158 | if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
|
159 | throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
|
160 | } |
|
161 | ||
162 | // init file iterator on source directory |
|
163 | $fileIterator = new \FilesystemIterator($sourceDir); |
@@ 110-112 (lines=3) @@ | ||
107 | $status = $this->getRegistryProcessor()->getAttribute(RegistryKeys::STATUS); |
|
108 | ||
109 | // query whether or not the configured source directory is available |
|
110 | if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
|
111 | throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
|
112 | } |
|
113 | ||
114 | // load the array with the missing option values from the status |
|
115 | $missingOptions = $status[RegistryKeys::MISSING_OPTION_VALUES]; |
|
@@ 324-326 (lines=3) @@ | ||
321 | $status = $this->getRegistryProcessor()->getAttribute(RegistryKeys::STATUS); |
|
322 | ||
323 | // query whether or not the configured source directory is available |
|
324 | if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
|
325 | throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
|
326 | } |
|
327 | ||
328 | // return the source directory where we want to export to |
|
329 | return $sourceDir; |