Commit 8d232637 authored by Oliver Wand's avatar Oliver Wand
Browse files

Merge branch '229-extract-distribution-image-to-publicly-available-location' into 'develop'

Resolve "Extract distribution image to publicly available location"

Closes #229

See merge request t3o/ter!318
parents 2cb47c1b c6bc2b52
Pipeline #3793 passed with stages
in 8 minutes and 26 seconds
......@@ -431,6 +431,11 @@ class tx_ter_helper
$versionObj->appendChild(new DOMElement('state', $this->xmlentities($extensionVersionArr['state'])));
$versionObj->appendChild(new DOMElement('reviewstate', intval($extensionVersionArr['reviewstate'])));
$versionObj->appendChild(new DOMElement('category', $this->xmlentities($extensionVersionArr['category'])));
if ($extensionsAndVersionsArr['category'] === 'distribution') {
$prefixPathToDistributionFiles = 'fileadmin/' . $extensionKey[0] . '/' . $extensionKey[1] . '/' . $extensionKey . '_' . $versionNumber . '_';
$versionObj->appendChild(new DOMElement('distributionImage', $this->xmlentities($prefixPathToDistributionFiles . 'Distribution.png')));
$versionObj->appendChild(new DOMElement('distributionImageWelcome', $this->xmlentities($prefixPathToDistributionFiles . 'DistributionWelcome.png')));
}
$versionObj->appendChild(
new DOMElement(
'downloadcounter',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment