|
@@ 129-135 (lines=7) @@
|
| 126 |
|
} |
| 127 |
|
|
| 128 |
|
// initialize media directory => can be absolute or relative |
| 129 |
|
if ($this->getConfiguration()->hasParam(ConfigurationKeys::MEDIA_DIRECTORY)) { |
| 130 |
|
try { |
| 131 |
|
$this->setMediaDir($this->resolvePath($this->getConfiguration()->getParam(ConfigurationKeys::MEDIA_DIRECTORY))); |
| 132 |
|
} catch (\InvalidArgumentException $iae) { |
| 133 |
|
$this->getSystemLogger()->debug($iae->getMessage()); |
| 134 |
|
} |
| 135 |
|
} |
| 136 |
|
|
| 137 |
|
// initialize images directory => can be absolute or relative |
| 138 |
|
if ($this->getConfiguration()->hasParam(ConfigurationKeys::IMAGES_FILE_DIRECTORY)) { |
|
@@ 138-144 (lines=7) @@
|
| 135 |
|
} |
| 136 |
|
|
| 137 |
|
// initialize images directory => can be absolute or relative |
| 138 |
|
if ($this->getConfiguration()->hasParam(ConfigurationKeys::IMAGES_FILE_DIRECTORY)) { |
| 139 |
|
try { |
| 140 |
|
$this->setImagesFileDir($this->resolvePath($this->getConfiguration()->getParam(ConfigurationKeys::IMAGES_FILE_DIRECTORY))); |
| 141 |
|
} catch (\InvalidArgumentException $iae) { |
| 142 |
|
$this->getSystemLogger()->debug($iae->getMessage()); |
| 143 |
|
} |
| 144 |
|
} |
| 145 |
|
|
| 146 |
|
// prepare the callbacks |
| 147 |
|
parent::setUp($serial); |