|
@@ 88-94 (lines=7) @@
|
| 85 |
|
$this->skuEntityIdMapping = isset($status[RegistryKeys::SKU_ENTITY_ID_MAPPING]) ? $status[RegistryKeys::SKU_ENTITY_ID_MAPPING] : array(); |
| 86 |
|
|
| 87 |
|
// initialize media directory => can be absolute or relative |
| 88 |
|
if ($this->getConfiguration()->hasParam(ConfigurationKeys::MEDIA_DIRECTORY)) { |
| 89 |
|
try { |
| 90 |
|
$this->setMediaDir($this->resolvePath($this->getConfiguration()->getParam(ConfigurationKeys::MEDIA_DIRECTORY))); |
| 91 |
|
} catch (\InvalidArgumentException $iae) { |
| 92 |
|
$this->getSystemLogger()->warning($iae->getMessage()); |
| 93 |
|
} |
| 94 |
|
} |
| 95 |
|
|
| 96 |
|
// initialize images directory => can be absolute or relative |
| 97 |
|
if ($this->getConfiguration()->hasParam(ConfigurationKeys::IMAGES_FILE_DIRECTORY)) { |
|
@@ 97-103 (lines=7) @@
|
| 94 |
|
} |
| 95 |
|
|
| 96 |
|
// initialize images directory => can be absolute or relative |
| 97 |
|
if ($this->getConfiguration()->hasParam(ConfigurationKeys::IMAGES_FILE_DIRECTORY)) { |
| 98 |
|
try { |
| 99 |
|
$this->setImagesFileDir($this->resolvePath($this->getConfiguration()->getParam(ConfigurationKeys::IMAGES_FILE_DIRECTORY))); |
| 100 |
|
} catch (\InvalidArgumentException $iae) { |
| 101 |
|
$this->getSystemLogger()->warning($iae->getMessage()); |
| 102 |
|
} |
| 103 |
|
} |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
/** |