|
@@ 188-194 (lines=7) @@
|
| 185 |
|
} |
| 186 |
|
|
| 187 |
|
// initialize media directory => can be absolute or relative |
| 188 |
|
if ($this->getConfiguration()->hasParam(ConfigurationKeys::MEDIA_DIRECTORY)) { |
| 189 |
|
try { |
| 190 |
|
$this->setMediaDir($this->resolvePath($this->getConfiguration()->getParam(ConfigurationKeys::MEDIA_DIRECTORY))); |
| 191 |
|
} catch (\InvalidArgumentException $iae) { |
| 192 |
|
$this->getSystemLogger()->warning($iae); |
| 193 |
|
} |
| 194 |
|
} |
| 195 |
|
|
| 196 |
|
// initialize images directory => can be absolute or relative |
| 197 |
|
if ($this->getConfiguration()->hasParam(ConfigurationKeys::IMAGES_FILE_DIRECTORY)) { |
|
@@ 197-203 (lines=7) @@
|
| 194 |
|
} |
| 195 |
|
|
| 196 |
|
// initialize images directory => can be absolute or relative |
| 197 |
|
if ($this->getConfiguration()->hasParam(ConfigurationKeys::IMAGES_FILE_DIRECTORY)) { |
| 198 |
|
try { |
| 199 |
|
$this->setImagesFileDir($this->resolvePath($this->getConfiguration()->getParam(ConfigurationKeys::IMAGES_FILE_DIRECTORY))); |
| 200 |
|
} catch (\InvalidArgumentException $iae) { |
| 201 |
|
$this->getSystemLogger()->warning($iae); |
| 202 |
|
} |
| 203 |
|
} |
| 204 |
|
|
| 205 |
|
// invoke the parent method |
| 206 |
|
parent::setUp($serial); |