add photon to compare page
Signed-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>
diff --git a/compare.php b/compare.php
index 65ca5cf..b1a18b8 100644
--- a/compare.php
+++ b/compare.php
@@ -32,7 +32,7 @@
// We will need to be updated on June 28, 2017.
if ($App->getHTTPParameter('release') == 'oxygen') {
- $Downloads->setPrefixPackage('developeralt');
+ $Downloads->setPrefixPackage('developerAlt');
$Downloads->setRelease('oxygen');
}
else {
diff --git a/downloads/controller.compare.php b/downloads/controller.compare.php
index 133728d..9b1cd46 100644
--- a/downloads/controller.compare.php
+++ b/downloads/controller.compare.php
@@ -73,7 +73,7 @@
}
public function setRelease($release){
- $releases = array('juno', 'kepler', 'luna', 'mars','neon', 'oxygen');
+ $releases = array('juno', 'kepler', 'luna', 'mars','neon', 'oxygen', 'photon');
if (in_array($release, $releases)) {
$this->release = $release;
$this->features_list = $this->getFeaturesList();